home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Frank Lloyd Wright Companion
/
The Frank Lloyd Wright Companion.iso
/
fullmacapps
/
macfllwc_small.sit
/
MacFLLWC_Small
/
flw.mvb.rsrc
/
CODE_5_QH Main5.txt
< prev
next >
Wrap
Text File
|
1995-09-30
|
619KB
|
11,269 lines
# near model CODE resource
# jump table entries: 58832-58931 (100 of them)
00000000 FFFF .extension 0xFFF // unimplemented
00000002 E5D0 roxl .w [A0]
00000004 0000 759E ori.b D0, 0x9E
fn00000008:
00000008 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
0000000C 514F subq.w A7, 8
0000000E 2C6F 0030 movea.l A6, [A7 + 0x30]
00000012 246F 0034 movea.l A2, [A7 + 0x34]
00000016 2C2F 0038 move.l D6, [A7 + 0x38]
0000001A 2E2F 003C move.l D7, [A7 + 0x3C]
0000001E 266F 0040 movea.l A3, [A7 + 0x40]
00000022 7A00 moveq.l D5, 0x00
00000024 2F46 0004 move.l [A7 + 0x4], D6
00000028 284A movea.l A4, A2
0000002A 78FF moveq.l D4, 0xFFFFFFFF
0000002C 7020 moveq.l D0, 0x20
0000002E BE80 cmp.l D7, D0
00000030 57C0 seq D0
00000032 4400 neg.b D0
00000034 4880 ext.w D0
00000036 48C0 ext.l D0
00000038 2E80 move.l [A7], D0
0000003A 6030 bra +0x32 /* 0000006C */
label0000003C:
0000003C 2605 move.l D3, D5
0000003E D686 add.l D3, D6
00000040 5383 subq.l D3, 1
00000042 E28B lsr D3, 1
00000044 2003 move.l D0, D3
00000046 2207 move.l D1, D7
00000048 4EAD D8F8 jsr [A5 - 0x2708]
0000004C 204A movea.l A0, A2
0000004E D1C0 add.l A0, D0
00000050 2848 movea.l A4, A0
00000052 2F0C move.l -[A7], A4
00000054 2F0E move.l -[A7], A6
00000056 4E93 jsr [A3]
00000058 2800 move.l D4, D0
0000005A 4A84 tst.l D4
0000005C 504F addq.w A7, 8
0000005E 6710 beq +0x12 /* 00000070 */
00000060 4A84 tst.l D4
00000062 6C04 bge +0x6 /* 00000068 */
00000064 2C03 move.l D6, D3
00000066 6004 bra +0x6 /* 0000006C */
label00000068:
00000068 2A03 move.l D5, D3
0000006A 5285 addq.l D5, 1
label0000006C:
0000006C BA86 cmp.l D5, D6
0000006E 65CC bcs -0x32 /* 0000003C */
label00000070:
00000070 2B44 8AB4 move.l [A5 - 0x754C], D4
00000074 4AAD 8AB8 tst.l [A5 - 0x7548]
00000078 6704 beq +0x6 /* 0000007E */
0000007A 4A84 tst.l D4
0000007C 677A beq +0x7C /* 000000F8 */
label0000007E:
0000007E 200C move.l D0, A4
00000080 6776 beq +0x78 /* 000000F8 */
00000082 4A84 tst.l D4
00000084 6F02 ble +0x4 /* 00000088 */
00000086 D9C7 add.l A4, D7
label00000088:
00000088 204C movea.l A0, A4
0000008A 91CA sub.l A0, A2
0000008C 2608 move.l D3, A0
0000008E 2007 move.l D0, D7
00000090 222F 0004 move.l D1, [A7 + 0x4]
00000094 4EAD D8F8 jsr [A5 - 0x2708]
00000098 2A00 move.l D5, D0
0000009A 2805 move.l D4, D5
0000009C 9883 sub.l D4, D3
0000009E 4A97 tst.l [A7]
000000A0 6740 beq +0x42 /* 000000E2 */
000000A2 4A84 tst.l D4
000000A4 6726 beq +0x28 /* 000000CC */
000000A6 244C movea.l A2, A4
000000A8 264C movea.l A3, A4
000000AA D7C7 add.l A3, D7
000000AC 2604 move.l D3, D4
000000AE D5C3 add.l A2, D3
000000B0 D7C3 add.l A3, D3
000000B2 6014 bra +0x16 /* 000000C8 */
label000000B4:
000000B4 2722 move.l -[A3], -[A2]
000000B6 2722 move.l -[A3], -[A2]
000000B8 2722 move.l -[A3], -[A2]
000000BA 2722 move.l -[A3], -[A2]
000000BC 2722 move.l -[A3], -[A2]
000000BE 2722 move.l -[A3], -[A2]
000000C0 2722 move.l -[A3], -[A2]
000000C2 2722 move.l -[A3], -[A2]
000000C4 7020 moveq.l D0, 0x20
000000C6 9680 sub.l D3, D0
label000000C8:
000000C8 4A83 tst.l D3
000000CA 66E8 bne -0x16 /* 000000B4 */
label000000CC:
000000CC 244E movea.l A2, A6
000000CE 264C movea.l A3, A4
000000D0 26DA move.l [A3]+, [A2]+
000000D2 26DA move.l [A3]+, [A2]+
000000D4 26DA move.l [A3]+, [A2]+
000000D6 26DA move.l [A3]+, [A2]+
000000D8 26DA move.l [A3]+, [A2]+
000000DA 26DA move.l [A3]+, [A2]+
000000DC 26DA move.l [A3]+, [A2]+
000000DE 2692 move.l [A3], [A2]
000000E0 6016 bra +0x18 /* 000000F8 */
label000000E2:
000000E2 4A84 tst.l D4
000000E4 670A beq +0xC /* 000000F0 */
000000E6 204C movea.l A0, A4
000000E8 43F4 7800 lea.l A1, [A4 + D7]
000000EC 2004 move.l D0, D4
000000EE A02E syscall BlockMove/BlockMoveData
label000000F0:
000000F0 204E movea.l A0, A6
000000F2 224C movea.l A1, A4
000000F4 2007 move.l D0, D7
000000F6 A02E syscall BlockMove/BlockMoveData
label000000F8:
000000F8 504F addq.w A7, 8
000000FA 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000000FE 4E75 rts
fn00000100:
00000100 226F 0004 movea.l A1, [A7 + 0x4]
00000104 206F 0008 movea.l A0, [A7 + 0x8]
00000108 7400 moveq.l D2, 0x00
0000010A 4210 clr.b [A0]
0000010C 6020 bra +0x22 /* 0000012E */
label0000010E:
0000010E 1219 move.b D1, [A1]+
00000110 4A01 tst.b D1
00000112 6726 beq +0x28 /* 0000013A */
00000114 0C01 0026 cmpi.b D1, 0x26 /* '&' */
00000118 6606 bne +0x8 /* 00000120 */
0000011A 0C11 0026 cmpi.b [A1], 0x26 /* '&' */
0000011E 660C bne +0xE /* 0000012C */
label00000120:
00000120 5210 addq.b [A0], 1
00000122 7000 moveq.l D0, 0x00
00000124 1010 move.b D0, [A0]
00000126 1181 0000 move.b [A0 + D0.w], D1
0000012A 6002 bra +0x4 /* 0000012E */
label0000012C:
0000012C 1411 move.b D2, [A1]
label0000012E:
0000012E 7000 moveq.l D0, 0x00
00000130 1010 move.b D0, [A0]
00000132 0C80 0000 00FF cmpi.l D0, 0xFF
00000138 6DD4 blt -0x2A /* 0000010E */
label0000013A:
0000013A 1002 move.b D0, D2
0000013C 4E75 rts
fn0000013E:
0000013E 226F 0004 movea.l A1, [A7 + 0x4]
00000142 41ED E650 lea.l A0, [A5 - 0x19B0]
00000146 2288 move.l [A1], A0
00000148 41ED E658 lea.l A0, [A5 - 0x19A8]
0000014C 2348 0004 move.l [A1 + 0x4], A0
00000150 41ED E668 lea.l A0, [A5 - 0x1998]
00000154 2348 0008 move.l [A1 + 0x8], A0
00000158 41ED E660 lea.l A0, [A5 - 0x19A0]
0000015C 2348 000C move.l [A1 + 0xC], A0
00000160 41ED E670 lea.l A0, [A5 - 0x1990]
00000164 2348 0010 move.l [A1 + 0x10], A0
00000168 41ED E678 lea.l A0, [A5 - 0x1988]
0000016C 2348 0018 move.l [A1 + 0x18], A0
00000170 41ED E690 lea.l A0, [A5 - 0x1970]
00000174 2348 0014 move.l [A1 + 0x14], A0
00000178 41ED E698 lea.l A0, [A5 - 0x1968]
0000017C 2348 001C move.l [A1 + 0x1C], A0
00000180 41ED E6A0 lea.l A0, [A5 - 0x1960]
00000184 2348 0020 move.l [A1 + 0x20], A0
00000188 41ED E6A8 lea.l A0, [A5 - 0x1958]
0000018C 2348 0024 move.l [A1 + 0x24], A0
00000190 41ED E6B0 lea.l A0, [A5 - 0x1950]
00000194 2348 0028 move.l [A1 + 0x28], A0
00000198 41ED E6B8 lea.l A0, [A5 - 0x1948]
0000019C 2348 002C move.l [A1 + 0x2C], A0
000001A0 41ED E6C0 lea.l A0, [A5 - 0x1940]
000001A4 2348 0030 move.l [A1 + 0x30], A0
000001A8 41ED E6C8 lea.l A0, [A5 - 0x1938]
000001AC 2348 0034 move.l [A1 + 0x34], A0
000001B0 41ED E680 lea.l A0, [A5 - 0x1980]
000001B4 2348 0038 move.l [A1 + 0x38], A0
000001B8 41ED E688 lea.l A0, [A5 - 0x1978]
000001BC 2348 003C move.l [A1 + 0x3C], A0
000001C0 4E75 rts
fn000001C2:
000001C2 48E7 1830 movem.l -[A7], D3,D4,A2,A3
000001C6 266F 0014 movea.l A3, [A7 + 0x14]
000001CA 282F 0018 move.l D4, [A7 + 0x18]
000001CE 7600 moveq.l D3, 0x00
000001D0 4A84 tst.l D4
000001D2 6D28 blt +0x2A /* 000001FC */
000001D4 4227 clr.b -[A7]
000001D6 2F04 move.l -[A7], D4
000001D8 2F0B move.l -[A7], A3
000001DA 4EBA 54A4 jsr [PC + 0x54A4 /* 00005680 */]
000001DE 2448 movea.l A2, A0
000001E0 2008 move.l D0, A0
000001E2 4FEF 000A lea.l A7, [A7 + 0xA]
000001E6 6714 beq +0x16 /* 000001FC */
000001E8 362A 0044 move.w D3, [A2 + 0x44]
000001EC 1F3C 0002 move.b -[A7], 0x2
000001F0 42A7 clr.l -[A7]
000001F2 2F0B move.l -[A7], A3
000001F4 4EBA 548A jsr [PC + 0x548A /* 00005680 */]
000001F8 4FEF 000A lea.l A7, [A7 + 0xA]
label000001FC:
000001FC 3003 move.w D0, D3
000001FE 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00000202 4E75 rts
00000204 48E7 1030 movem.l -[A7], D3,A2,A3
00000208 266F 0010 movea.l A3, [A7 + 0x10]
0000020C 262F 0014 move.l D3, [A7 + 0x14]
00000210 4A83 tst.l D3
00000212 6D48 blt +0x4A /* 0000025C */
00000214 4227 clr.b -[A7]
00000216 2F03 move.l -[A7], D3
00000218 2F0B move.l -[A7], A3
0000021A 4EBA 5464 jsr [PC + 0x5464 /* 00005680 */]
0000021E 2448 movea.l A2, A0
00000220 2008 move.l D0, A0
00000222 4FEF 000A lea.l A7, [A7 + 0xA]
00000226 6734 beq +0x36 /* 0000025C */
00000228 4AAA 0050 tst.l [A2 + 0x50]
0000022C 671E beq +0x20 /* 0000024C */
0000022E 2F2A 0050 move.l -[A7], [A2 + 0x50]
00000232 4EAD DD80 jsr [A5 - 0x2280]
00000236 584F addq.w A7, 4
00000238 2F08 move.l -[A7], A0
0000023A 2F0A move.l -[A7], A2
0000023C 4EBA 1EAA jsr [PC + 0x1EAA /* 000020E8 */]
00000240 2F2A 0050 move.l -[A7], [A2 + 0x50]
00000244 4EAD DD88 jsr [A5 - 0x2278]
00000248 4FEF 000C lea.l A7, [A7 + 0xC]
label0000024C:
0000024C 1F3C 0002 move.b -[A7], 0x2
00000250 42A7 clr.l -[A7]
00000252 2F0B move.l -[A7], A3
00000254 4EBA 542A jsr [PC + 0x542A /* 00005680 */]
00000258 4FEF 000A lea.l A7, [A7 + 0xA]
label0000025C:
0000025C 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00000260 4E75 rts
fn00000262:
00000262 48E7 1030 movem.l -[A7], D3,A2,A3
00000266 266F 0010 movea.l A3, [A7 + 0x10]
0000026A 262F 0014 move.l D3, [A7 + 0x14]
0000026E 4A83 tst.l D3
00000270 6D4E blt +0x50 /* 000002C0 */
00000272 4227 clr.b -[A7]
00000274 2F03 move.l -[A7], D3
00000276 2F0B move.l -[A7], A3
00000278 4EBA 5406 jsr [PC + 0x5406 /* 00005680 */]
0000027C 2448 movea.l A2, A0
0000027E 2008 move.l D0, A0
00000280 4FEF 000A lea.l A7, [A7 + 0xA]
00000284 673A beq +0x3C /* 000002C0 */
00000286 4AAA 0050 tst.l [A2 + 0x50]
0000028A 6724 beq +0x26 /* 000002B0 */
0000028C 486D E6D8 pea.l [A5 - 0x1928]
00000290 42A7 clr.l -[A7]
00000292 2F2A 0050 move.l -[A7], [A2 + 0x50]
00000296 4EAD DD80 jsr [A5 - 0x2280]
0000029A 584F addq.w A7, 4
0000029C 2F08 move.l -[A7], A0
0000029E 2F0A move.l -[A7], A2
000002A0 4EBA 1B20 jsr [PC + 0x1B20 /* 00001DC2 */]
000002A4 2F2A 0050 move.l -[A7], [A2 + 0x50]
000002A8 4EAD DD88 jsr [A5 - 0x2278]
000002AC 4FEF 0014 lea.l A7, [A7 + 0x14]
label000002B0:
000002B0 1F3C 0002 move.b -[A7], 0x2
000002B4 42A7 clr.l -[A7]
000002B6 2F0B move.l -[A7], A3
000002B8 4EBA 53C6 jsr [PC + 0x53C6 /* 00005680 */]
000002BC 4FEF 000A lea.l A7, [A7 + 0xA]
label000002C0:
000002C0 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000002C4 4E75 rts
000002C6 48E7 1030 movem.l -[A7], D3,A2,A3
000002CA 266F 0010 movea.l A3, [A7 + 0x10]
000002CE 262F 0014 move.l D3, [A7 + 0x14]
000002D2 4A83 tst.l D3
000002D4 6D4E blt +0x50 /* 00000324 */
000002D6 4227 clr.b -[A7]
000002D8 2F03 move.l -[A7], D3
000002DA 2F0B move.l -[A7], A3
000002DC 4EBA 53A2 jsr [PC + 0x53A2 /* 00005680 */]
000002E0 2448 movea.l A2, A0
000002E2 2008 move.l D0, A0
000002E4 4FEF 000A lea.l A7, [A7 + 0xA]
000002E8 673A beq +0x3C /* 00000324 */
000002EA 4AAA 0050 tst.l [A2 + 0x50]
000002EE 6724 beq +0x26 /* 00000314 */
000002F0 2F2F 001C move.l -[A7], [A7 + 0x1C]
000002F4 2F2F 001C move.l -[A7], [A7 + 0x1C]
000002F8 2F2A 0050 move.l -[A7], [A2 + 0x50]
000002FC 4EAD DD80 jsr [A5 - 0x2280]
00000300 584F addq.w A7, 4
00000302 2F08 move.l -[A7], A0
00000304 4EBA 1E20 jsr [PC + 0x1E20 /* 00002126 */]
00000308 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000030C 4EAD DD88 jsr [A5 - 0x2278]
00000310 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000314:
00000314 1F3C 0002 move.b -[A7], 0x2
00000318 42A7 clr.l -[A7]
0000031A 2F0B move.l -[A7], A3
0000031C 4EBA 5362 jsr [PC + 0x5362 /* 00005680 */]
00000320 4FEF 000A lea.l A7, [A7 + 0xA]
label00000324:
00000324 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00000328 4E75 rts
fn0000032A:
0000032A 48E7 1030 movem.l -[A7], D3,A2,A3
0000032E 266F 0010 movea.l A3, [A7 + 0x10]
00000332 262F 0014 move.l D3, [A7 + 0x14]
00000336 4A83 tst.l D3
00000338 6D3C blt +0x3E /* 00000376 */
0000033A 4227 clr.b -[A7]
0000033C 2F03 move.l -[A7], D3
0000033E 2F0B move.l -[A7], A3
00000340 4EBA 533E jsr [PC + 0x533E /* 00005680 */]
00000344 2448 movea.l A2, A0
00000346 200A move.l D0, A2
00000348 4FEF 000A lea.l A7, [A7 + 0xA]
0000034C 6728 beq +0x2A /* 00000376 */
0000034E 206A 0050 movea.l A0, [A2 + 0x50]
00000352 2050 movea.l A0, [A0]
00000354 4AA8 0030 tst.l [A0 + 0x30]
00000358 670C beq +0xE /* 00000366 */
0000035A 2F2F 0018 move.l -[A7], [A7 + 0x18]
0000035E 2F0A move.l -[A7], A2
00000360 4EBA 29C8 jsr [PC + 0x29C8 /* 00002D2A */]
00000364 504F addq.w A7, 8
label00000366:
00000366 1F3C 0002 move.b -[A7], 0x2
0000036A 42A7 clr.l -[A7]
0000036C 2F0B move.l -[A7], A3
0000036E 4EBA 5310 jsr [PC + 0x5310 /* 00005680 */]
00000372 4FEF 000A lea.l A7, [A7 + 0xA]
label00000376:
00000376 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000037A 4E75 rts
0000037C 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000380 286F 0014 movea.l A4, [A7 + 0x14]
00000384 262F 0018 move.l D3, [A7 + 0x18]
00000388 97CB sub.l A3, A3
0000038A 4A83 tst.l D3
0000038C 6D34 blt +0x36 /* 000003C2 */
0000038E 4227 clr.b -[A7]
00000390 2F03 move.l -[A7], D3
00000392 2F0C move.l -[A7], A4
00000394 4EBA 52EA jsr [PC + 0x52EA /* 00005680 */]
00000398 2448 movea.l A2, A0
0000039A 2008 move.l D0, A0
0000039C 4FEF 000A lea.l A7, [A7 + 0xA]
000003A0 6720 beq +0x22 /* 000003C2 */
000003A2 4AAA 0050 tst.l [A2 + 0x50]
000003A6 670A beq +0xC /* 000003B2 */
000003A8 206A 0050 movea.l A0, [A2 + 0x50]
000003AC 2050 movea.l A0, [A0]
000003AE 2668 0004 movea.l A3, [A0 + 0x4]
label000003B2:
000003B2 1F3C 0002 move.b -[A7], 0x2
000003B6 42A7 clr.l -[A7]
000003B8 2F0C move.l -[A7], A4
000003BA 4EBA 52C4 jsr [PC + 0x52C4 /* 00005680 */]
000003BE 4FEF 000A lea.l A7, [A7 + 0xA]
label000003C2:
000003C2 204B movea.l A0, A3
000003C4 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000003C8 4E75 rts
fn000003CA:
000003CA 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
000003CE 594F subq.w A7, 4
000003D0 286F 001C movea.l A4, [A7 + 0x1C]
000003D4 282F 0020 move.l D4, [A7 + 0x20]
000003D8 7600 moveq.l D3, 0x00
000003DA 4AAD 8C2C tst.l [A5 - 0x73D4]
000003DE 6704 beq +0x6 /* 000003E4 */
000003E0 4A84 tst.l D4
000003E2 6C0A bge +0xC /* 000003EE */
label000003E4:
000003E4 7000 moveq.l D0, 0x00
000003E6 584F addq.w A7, 4
000003E8 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
000003EC 4E75 rts
label000003EE:
000003EE 4227 clr.b -[A7]
000003F0 2F04 move.l -[A7], D4
000003F2 2F0C move.l -[A7], A4
000003F4 4EBA 528A jsr [PC + 0x528A /* 00005680 */]
000003F8 2448 movea.l A2, A0
000003FA 200A move.l D0, A2
000003FC 4FEF 000A lea.l A7, [A7 + 0xA]
00000400 660A bne +0xC /* 0000040C */
00000402 7000 moveq.l D0, 0x00
00000404 584F addq.w A7, 4
00000406 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
0000040A 4E75 rts
label0000040C:
0000040C 4AAA 0050 tst.l [A2 + 0x50]
00000410 674E beq +0x50 /* 00000460 */
00000412 206A 0050 movea.l A0, [A2 + 0x50]
00000416 2050 movea.l A0, [A0]
00000418 4AA8 0030 tst.l [A0 + 0x30]
0000041C 6742 beq +0x44 /* 00000460 */
0000041E 206A 0050 movea.l A0, [A2 + 0x50]
00000422 2050 movea.l A0, [A0]
00000424 2668 0024 movea.l A3, [A0 + 0x24]
00000428 200B move.l D0, A3
0000042A 6734 beq +0x36 /* 00000460 */
0000042C 594F subq.w A7, 4
0000042E 42A7 clr.l -[A7]
00000430 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00000436 486F 000C pea.l [A7 + 0xC]
0000043A A9FD syscall GetScrap
0000043C 201F move.l D0, [A7]+
0000043E 4A80 tst.l D0
00000440 6F04 ble +0x6 /* 00000446 */
00000442 0043 0040 ori.w D3, 0x40 /* '@' */
label00000446:
00000446 2453 movea.l A2, [A3]
00000448 4A6A 003C tst.w [A2 + 0x3C]
0000044C 6704 beq +0x6 /* 00000452 */
0000044E 0043 0100 ori.w D3, 0x100
label00000452:
00000452 302A 0020 move.w D0, [A2 + 0x20]
00000456 B06A 0022 cmp.w D0, [A2 + 0x22]
0000045A 6704 beq +0x6 /* 00000460 */
0000045C 0043 00B0 ori.w D3, 0xB0
label00000460:
00000460 1F3C 0002 move.b -[A7], 0x2
00000464 42A7 clr.l -[A7]
00000466 2F0C move.l -[A7], A4
00000468 4EBA 5216 jsr [PC + 0x5216 /* 00005680 */]
0000046C 3003 move.w D0, D3
0000046E 4FEF 000E lea.l A7, [A7 + 0xE]
00000472 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000476 4E75 rts
fn00000478:
00000478 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
0000047C 2C6F 0018 movea.l A6, [A7 + 0x18]
00000480 262F 001C move.l D3, [A7 + 0x1C]
00000484 4AAD 8C2C tst.l [A5 - 0x73D4]
00000488 6700 00FC beq +0xFE /* 00000586 */
0000048C 4A83 tst.l D3
0000048E 6D00 00F6 blt +0xF8 /* 00000586 */
00000492 4227 clr.b -[A7]
00000494 2F03 move.l -[A7], D3
00000496 2F0E move.l -[A7], A6
00000498 4EBA 51E6 jsr [PC + 0x51E6 /* 00005680 */]
0000049C 2648 movea.l A3, A0
0000049E 2008 move.l D0, A0
000004A0 4FEF 000A lea.l A7, [A7 + 0xA]
000004A4 6700 00E0 beq +0xE2 /* 00000586 */
000004A8 4AAB 0050 tst.l [A3 + 0x50]
000004AC 6700 00C8 beq +0xCA /* 00000576 */
000004B0 206B 0050 movea.l A0, [A3 + 0x50]
000004B4 2050 movea.l A0, [A0]
000004B6 4AA8 0024 tst.l [A0 + 0x24]
000004BA 6700 00BA beq +0xBC /* 00000576 */
000004BE 2F2B 0050 move.l -[A7], [A3 + 0x50]
000004C2 4EAD DD80 jsr [A5 - 0x2280]
000004C6 2448 movea.l A2, A0
000004C8 206A 0024 movea.l A0, [A2 + 0x24]
000004CC 2850 movea.l A4, [A0]
000004CE 302C 0020 move.w D0, [A4 + 0x20]
000004D2 B06C 0022 cmp.w D0, [A4 + 0x22]
000004D6 56C0 sne D0
000004D8 4400 neg.b D0
000004DA 4880 ext.w D0
000004DC 48C0 ext.l D0
000004DE 2600 move.l D3, D0
000004E0 202F 0024 move.l D0, [A7 + 0x24]
000004E4 584F addq.w A7, 4
000004E6 0C80 0000 0008 cmpi.l D0, 0x8
000004EC 6274 bhi +0x76 /* 00000562 */
000004EE D040 add.w D0, D0
000004F0 303B 0006 move.w D0, [PC + D0.w + 0x6]
000004F4 4EFB 0002 jmp [PC + D0.w + 0x2]
000004F8 006A 006A 006A ori.w [A2 + 0x6A], 0x6A /* 'j' */
000004FE 0012 002C ori.b [A2], 0x2C /* ',' */
00000502 0046 0056 ori.w D6, 0x56 /* 'V' */
00000506 006A 005E 4A83 ori.w [A2 + 0x4A83], 0x5E /* '^' */
0000050C 6754 beq +0x56 /* 00000562 */
0000050E 594F subq.w A7, 4
00000510 A9FC syscall ZeroScrap
00000512 201F move.l D0, [A7]+
00000514 2F2A 0024 move.l -[A7], [A2 + 0x24]
00000518 A9D6 syscall TECut
0000051A 554F subq.w A7, 2
0000051C 4EAD DA42 jsr [A5 - 0x25BE]
00000520 301F move.w D0, [A7]+
00000522 603E bra +0x40 /* 00000562 */
00000524 4A83 tst.l D3
00000526 673A beq +0x3C /* 00000562 */
00000528 594F subq.w A7, 4
0000052A A9FC syscall ZeroScrap
0000052C 201F move.l D0, [A7]+
0000052E 2F2A 0024 move.l -[A7], [A2 + 0x24]
00000532 A9D5 syscall TECopy
00000534 554F subq.w A7, 2
00000536 4EAD DA42 jsr [A5 - 0x25BE]
0000053A 301F move.w D0, [A7]+
0000053C 6024 bra +0x26 /* 00000562 */
0000053E 554F subq.w A7, 2
00000540 4EAD DA3C jsr [A5 - 0x25C4]
00000544 301F move.w D0, [A7]+
00000546 2F2A 0024 move.l -[A7], [A2 + 0x24]
0000054A A9DB syscall TEPaste
0000054C 6014 bra +0x16 /* 00000562 */
0000054E 2F2A 0024 move.l -[A7], [A2 + 0x24]
00000552 A9D7 syscall TEDelete
00000554 600C bra +0xE /* 00000562 */
00000556 42A7 clr.l -[A7]
00000558 4878 7FFF push.l 0x7FFF
0000055C 2F2A 0024 move.l -[A7], [A2 + 0x24]
00000560 A9D1 syscall TESetSelect
label00000562:
00000562 2F0A move.l -[A7], A2
00000564 2F0B move.l -[A7], A3
00000566 4EBA 25F2 jsr [PC + 0x25F2 /* 00002B5A */]
0000056A 2F2B 0050 move.l -[A7], [A3 + 0x50]
0000056E 4EAD DD88 jsr [A5 - 0x2278]
00000572 4FEF 000C lea.l A7, [A7 + 0xC]
label00000576:
00000576 1F3C 0002 move.b -[A7], 0x2
0000057A 42A7 clr.l -[A7]
0000057C 2F0E move.l -[A7], A6
0000057E 4EBA 5100 jsr [PC + 0x5100 /* 00005680 */]
00000582 4FEF 000A lea.l A7, [A7 + 0xA]
label00000586:
00000586 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
0000058A 4E75 rts
fn0000058C:
0000058C 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000590 286F 0014 movea.l A4, [A7 + 0x14]
00000594 4AAF 0018 tst.l [A7 + 0x18]
00000598 6C0C bge +0xE /* 000005A6 */
0000059A 2F0C move.l -[A7], A4
0000059C 4EBA 52EC jsr [PC + 0x52EC /* 0000588A */]
000005A0 5B00 subq.b D0, 5
000005A2 584F addq.w A7, 4
000005A4 667A bne +0x7C /* 00000620 */
label000005A6:
000005A6 1F3C 000C move.b -[A7], 0xC
000005AA 2F0C move.l -[A7], A4
000005AC 4EBA 4EDC jsr [PC + 0x4EDC /* 0000548A */]
000005B0 2648 movea.l A3, A0
000005B2 2008 move.l D0, A0
000005B4 5C4F addq.w A7, 6
000005B6 6768 beq +0x6A /* 00000620 */
000005B8 2F2F 001C move.l -[A7], [A7 + 0x1C]
000005BC 2F0B move.l -[A7], A3
000005BE 4EBA 24B4 jsr [PC + 0x24B4 /* 00002A74 */]
000005C2 2448 movea.l A2, A0
000005C4 200A move.l D0, A2
000005C6 504F addq.w A7, 8
000005C8 674E beq +0x50 /* 00000618 */
000005CA 4A2A 0110 tst.b [A2 + 0x110]
000005CE 6618 bne +0x1A /* 000005E8 */
000005D0 1F3C 0002 move.b -[A7], 0x2
000005D4 1F3C 0006 move.b -[A7], 0x6
000005D8 2F0C move.l -[A7], A4
000005DA 4EBA 4EAE jsr [PC + 0x4EAE /* 0000548A */]
000005DE 5C4F addq.w A7, 6
000005E0 3F10 move.w -[A7], [A0]
000005E2 4EBA 2EAE jsr [PC + 0x2EAE /* 00003492 */]
000005E6 584F addq.w A7, 4
label000005E8:
000005E8 306F 0024 movea.w A0, [A7 + 0x24]
000005EC 2008 move.l D0, A0
000005EE 206F 0020 movea.l A0, [A7 + 0x20]
000005F2 226A 0104 movea.l A1, [A2 + 0x104]
000005F6 A9E2 syscall PtrToXHand
000005F8 3600 move.w D3, D0
000005FA 671C beq +0x1E /* 00000618 */
000005FC 4AAA 0104 tst.l [A2 + 0x104]
00000600 670A beq +0xC /* 0000060C */
00000602 206A 0104 movea.l A0, [A2 + 0x104]
00000606 A023 syscall DisposHandle/DisposeHandle
00000608 42AA 0104 clr.l [A2 + 0x104]
label0000060C:
0000060C 3F03 move.w -[A7], D3
0000060E 3F3C 0002 move.w -[A7], 0x2
00000612 4EAD DE98 jsr [A5 - 0x2168]
00000616 584F addq.w A7, 4
label00000618:
00000618 2F0B move.l -[A7], A3
0000061A 4EAD DD88 jsr [A5 - 0x2278]
0000061E 584F addq.w A7, 4
label00000620:
00000620 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00000624 4E75 rts
00000626 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
0000062A 266F 0028 movea.l A3, [A7 + 0x28]
0000062E 282F 002C move.l D4, [A7 + 0x2C]
00000632 7600 moveq.l D3, 0x00
00000634 7E00 moveq.l D7, 0x00
00000636 206F 0030 movea.l A0, [A7 + 0x30]
0000063A 2F10 move.l -[A7], [A0]
0000063C 4EAD DA8A jsr [A5 - 0x2576]
00000640 2848 movea.l A4, A0
00000642 2008 move.l D0, A0
00000644 584F addq.w A7, 4
00000646 6700 013A beq +0x13C /* 00000782 */
0000064A 1F3C 000C move.b -[A7], 0xC
0000064E 2F0B move.l -[A7], A3
00000650 4EBA 4E38 jsr [PC + 0x4E38 /* 0000548A */]
00000654 2C48 movea.l A6, A0
00000656 2008 move.l D0, A0
00000658 5C4F addq.w A7, 6
0000065A 6700 00C4 beq +0xC6 /* 00000720 */
0000065E 7C00 moveq.l D6, 0x00
00000660 594F subq.w A7, 4
00000662 2F0E move.l -[A7], A6
00000664 4EAD D9AC jsr [A5 - 0x2654]
00000668 201F move.l D0, [A7]+
0000066A 2A00 move.l D5, D0
0000066C 2005 move.l D0, D5
0000066E 223C 0000 0112 move.l D1, 0x112
00000674 4EAD D8FE jsr [A5 - 0x2702]
00000678 2600 move.l D3, D0
0000067A 2F0E move.l -[A7], A6
0000067C 4EAD DD80 jsr [A5 - 0x2280]
00000680 2448 movea.l A2, A0
00000682 584F addq.w A7, 4
00000684 607C bra +0x7E /* 00000702 */
label00000686:
00000686 B9EA 0108 cmpa.l A4, [A2 + 0x108]
0000068A 6672 bne +0x74 /* 000006FE */
0000068C 4A84 tst.l D4
0000068E 6D18 blt +0x1A /* 000006A8 */
00000690 0C2A 0005 0110 cmpi.b [A2 + 0x110], 0x5
00000696 6710 beq +0x12 /* 000006A8 */
00000698 1F2A 0110 move.b -[A7], [A2 + 0x110]
0000069C 2F04 move.l -[A7], D4
0000069E 2F0B move.l -[A7], A3
000006A0 4EBA 2440 jsr [PC + 0x2440 /* 00002AE2 */]
000006A4 4FEF 000A lea.l A7, [A7 + 0xA]
label000006A8:
000006A8 4AAA 0100 tst.l [A2 + 0x100]
000006AC 6712 beq +0x14 /* 000006C0 */
000006AE 42A7 clr.l -[A7]
000006B0 2F2A 0100 move.l -[A7], [A2 + 0x100]
000006B4 4EAD E920 jsr [A5 - 0x16E0]
000006B8 2F2A 0100 move.l -[A7], [A2 + 0x100]
000006BC A955 syscall DisposeControl
000006BE 504F addq.w A7, 8
label000006C0:
000006C0 4AAA 0104 tst.l [A2 + 0x104]
000006C4 6706 beq +0x8 /* 000006CC */
000006C6 206A 0104 movea.l A0, [A2 + 0x104]
000006CA A023 syscall DisposHandle/DisposeHandle
label000006CC:
000006CC 4AAA 0108 tst.l [A2 + 0x108]
000006D0 670A beq +0xC /* 000006DC */
000006D2 2F2A 0108 move.l -[A7], [A2 + 0x108]
000006D6 4EAD DA84 jsr [A5 - 0x257C]
000006DA 584F addq.w A7, 4
label000006DC:
000006DC 4A83 tst.l D3
000006DE 6714 beq +0x16 /* 000006F4 */
000006E0 2003 move.l D0, D3
000006E2 223C 0000 0112 move.l D1, 0x112
000006E8 4EAD D8F8 jsr [A5 - 0x2708]
000006EC 41EA 0112 lea.l A0, [A2 + 0x112]
000006F0 224A movea.l A1, A2
000006F2 A02E syscall BlockMove/BlockMoveData
label000006F4:
000006F4 2C05 move.l D6, D5
000006F6 0486 0000 0112 subi.l D6, 0x112
000006FC 600E bra +0x10 /* 0000070C */
label000006FE:
000006FE 45EA 0112 lea.l A2, [A2 + 0x112]
label00000702:
00000702 2003 move.l D0, D3
00000704 5383 subq.l D3, 1
00000706 4A80 tst.l D0
00000708 6600 FF7C bne -0x82 /* 00000686 */
label0000070C:
0000070C 2F0E move.l -[A7], A6
0000070E 4EAD DD88 jsr [A5 - 0x2278]
00000712 BC85 cmp.l D6, D5
00000714 584F addq.w A7, 4
00000716 6708 beq +0xA /* 00000720 */
00000718 204E movea.l A0, A6
0000071A 2006 move.l D0, D6
0000071C A024 syscall SetHandleSize
0000071E 7E01 moveq.l D7, 0x01
label00000720:
00000720 4A87 tst.l D7
00000722 675E beq +0x60 /* 00000782 */
00000724 4A84 tst.l D4
00000726 6D5A blt +0x5C /* 00000782 */
00000728 4227 clr.b -[A7]
0000072A 2F04 move.l -[A7], D4
0000072C 2F0B move.l -[A7], A3
0000072E 4EBA 4F50 jsr [PC + 0x4F50 /* 00005680 */]
00000732 2448 movea.l A2, A0
00000734 2008 move.l D0, A0
00000736 4FEF 000A lea.l A7, [A7 + 0xA]
0000073A 6706 beq +0x8 /* 00000742 */
0000073C 4AAA 0050 tst.l [A2 + 0x50]
00000740 6616 bne +0x18 /* 00000758 */
label00000742:
00000742 1F3C 0002 move.b -[A7], 0x2
00000746 2F04 move.l -[A7], D4
00000748 2F0B move.l -[A7], A3
0000074A 4EBA 4F34 jsr [PC + 0x4F34 /* 00005680 */]
0000074E 4FEF 000A lea.l A7, [A7 + 0xA]
00000752 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000756 4E75 rts
label00000758:
00000758 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000075C 4EAD DD80 jsr [A5 - 0x2280]
00000760 584F addq.w A7, 4
00000762 2F08 move.l -[A7], A0
00000764 2F0A move.l -[A7], A2
00000766 4EBA 22B4 jsr [PC + 0x22B4 /* 00002A1C */]
0000076A 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000076E 4EAD DD88 jsr [A5 - 0x2278]
00000772 1F3C 0002 move.b -[A7], 0x2
00000776 2F04 move.l -[A7], D4
00000778 2F0B move.l -[A7], A3
0000077A 4EBA 4F04 jsr [PC + 0x4F04 /* 00005680 */]
0000077E 4FEF 0016 lea.l A7, [A7 + 0x16]
label00000782:
00000782 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000786 4E75 rts
00000788 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
0000078C 2C6F 0020 movea.l A6, [A7 + 0x20]
00000790 2A2F 0024 move.l D5, [A7 + 0x24]
00000794 182F 002C move.b D4, [A7 + 0x2C]
00000798 1F3C 000C move.b -[A7], 0xC
0000079C 2F0E move.l -[A7], A6
0000079E 4EBA 4CEA jsr [PC + 0x4CEA /* 0000548A */]
000007A2 2848 movea.l A4, A0
000007A4 2008 move.l D0, A0
000007A6 5C4F addq.w A7, 6
000007A8 6700 0092 beq +0x94 /* 0000083C */
000007AC 2F2F 0028 move.l -[A7], [A7 + 0x28]
000007B0 2F0C move.l -[A7], A4
000007B2 4EBA 22C0 jsr [PC + 0x22C0 /* 00002A74 */]
000007B6 2448 movea.l A2, A0
000007B8 200A move.l D0, A2
000007BA 504F addq.w A7, 8
000007BC 6776 beq +0x78 /* 00000834 */
000007BE 4227 clr.b -[A7]
000007C0 2F05 move.l -[A7], D5
000007C2 2F0E move.l -[A7], A6
000007C4 4EBA 4EBA jsr [PC + 0x4EBA /* 00005680 */]
000007C8 2648 movea.l A3, A0
000007CA 2008 move.l D0, A0
000007CC 4FEF 000A lea.l A7, [A7 + 0xA]
000007D0 6740 beq +0x42 /* 00000812 */
000007D2 4AAB 0050 tst.l [A3 + 0x50]
000007D6 673A beq +0x3C /* 00000812 */
000007D8 2F2B 0050 move.l -[A7], [A3 + 0x50]
000007DC 4EAD DD80 jsr [A5 - 0x2280]
000007E0 2608 move.l D3, A0
000007E2 2043 movea.l A0, D3
000007E4 4AA8 0030 tst.l [A0 + 0x30]
000007E8 584F addq.w A7, 4
000007EA 671C beq +0x1E /* 00000808 */
000007EC 4AAA 0100 tst.l [A2 + 0x100]
000007F0 6716 beq +0x18 /* 00000808 */
000007F2 2F2A 0100 move.l -[A7], [A2 + 0x100]
000007F6 4A04 tst.b D4
000007F8 6608 bne +0xA /* 00000802 */
000007FA 203C 0000 00FF move.l D0, 0xFF
00000800 6002 bra +0x4 /* 00000804 */
label00000802:
00000802 7000 moveq.l D0, 0x00
label00000804:
00000804 3F00 move.w -[A7], D0
00000806 A95D syscall HiliteControl
label00000808:
00000808 2F2B 0050 move.l -[A7], [A3 + 0x50]
0000080C 4EAD DD88 jsr [A5 - 0x2278]
00000810 584F addq.w A7, 4
label00000812:
00000812 1F3C 0002 move.b -[A7], 0x2
00000816 2F05 move.l -[A7], D5
00000818 2F0E move.l -[A7], A6
0000081A 4EBA 4E64 jsr [PC + 0x4E64 /* 00005680 */]
0000081E 1004 move.b D0, D4
00000820 EF08 lsl D0.b, 7
00000822 0200 0080 andi.b D0, 0x80
00000826 022A 007F 010C andi.b [A2 + 0x10C], 0x7F
0000082C 812A 010C or.b [A2 + 0x10C], D0
00000830 4FEF 000A lea.l A7, [A7 + 0xA]
label00000834:
00000834 2F0C move.l -[A7], A4
00000836 4EAD DD88 jsr [A5 - 0x2278]
0000083A 584F addq.w A7, 4
label0000083C:
0000083C 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00000840 4E75 rts
00000842 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00000846 4FEF FEF8 lea.l A7, [A7 - 0x108]
0000084A 2A2F 0130 move.l D5, [A7 + 0x130]
0000084E 2C6F 013C movea.l A6, [A7 + 0x13C]
00000852 2E2F 0140 move.l D7, [A7 + 0x140]
00000856 2C2F 0144 move.l D6, [A7 + 0x144]
0000085A 97CB sub.l A3, A3
0000085C 95CA sub.l A2, A2
0000085E 42AF 0104 clr.l [A7 + 0x104]
00000862 99CC sub.l A4, A4
00000864 4AAF 0134 tst.l [A7 + 0x134]
00000868 6D42 blt +0x44 /* 000008AC */
0000086A 4227 clr.b -[A7]
0000086C 2F2F 0136 move.l -[A7], [A7 + 0x136]
00000870 2F05 move.l -[A7], D5
00000872 4EBA 4E0C jsr [PC + 0x4E0C /* 00005680 */]
00000876 2648 movea.l A3, A0
00000878 2008 move.l D0, A0
0000087A 4FEF 000A lea.l A7, [A7 + 0xA]
0000087E 6706 beq +0x8 /* 00000886 */
00000880 4AAB 0050 tst.l [A3 + 0x50]
00000884 6618 bne +0x1A /* 0000089E */
label00000886:
00000886 1F3C 0002 move.b -[A7], 0x2
0000088A 2F2F 0136 move.l -[A7], [A7 + 0x136]
0000088E 2F05 move.l -[A7], D5
00000890 4EBA 4DEE jsr [PC + 0x4DEE /* 00005680 */]
00000894 4FEF 0112 lea.l A7, [A7 + 0x112]
00000898 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
0000089C 4E75 rts
label0000089E:
0000089E 2F2B 0050 move.l -[A7], [A3 + 0x50]
000008A2 4EAD DD80 jsr [A5 - 0x2280]
000008A6 2448 movea.l A2, A0
000008A8 584F addq.w A7, 4
000008AA 600E bra +0x10 /* 000008BA */
label000008AC:
000008AC 2F05 move.l -[A7], D5
000008AE 4EBA 4FDA jsr [PC + 0x4FDA /* 0000588A */]
000008B2 5B00 subq.b D0, 5
000008B4 584F addq.w A7, 4
000008B6 6600 01E4 bne +0x1E6 /* 00000A9C */
label000008BA:
000008BA 200E move.l D0, A6
000008BC 6608 bne +0xA /* 000008C6 */
000008BE 7605 moveq.l D3, 0x05
000008C0 99CC sub.l A4, A4
000008C2 6000 00D0 bra +0xD2 /* 00000994 */
label000008C6:
000008C6 486D B57C pea.l [A5 - 0x4A84]
000008CA 2F16 move.l -[A7], [A6]
000008CC 4EAD DE10 jsr [A5 - 0x21F0]
000008D0 4A80 tst.l D0
000008D2 504F addq.w A7, 8
000008D4 6612 bne +0x14 /* 000008E8 */
000008D6 7600 moveq.l D3, 0x00
000008D8 200A move.l D0, A2
000008DA 6700 00B8 beq +0xBA /* 00000994 */
000008DE 284A movea.l A4, A2
000008E0 508C addq.l A4, 8
000008E2 508C addq.l A4, 8
000008E4 6000 00AE bra +0xB0 /* 00000994 */
label000008E8:
000008E8 486D B58A pea.l [A5 - 0x4A76]
000008EC 2F16 move.l -[A7], [A6]
000008EE 4EAD DE10 jsr [A5 - 0x21F0]
000008F2 4A80 tst.l D0
000008F4 504F addq.w A7, 8
000008F6 6612 bne +0x14 /* 0000090A */
000008F8 7601 moveq.l D3, 0x01
000008FA 200A move.l D0, A2
000008FC 6700 0096 beq +0x98 /* 00000994 */
00000900 284A movea.l A4, A2
00000902 49EC 0014 lea.l A4, [A4 + 0x14]
00000906 6000 008C bra +0x8E /* 00000994 */
label0000090A:
0000090A 486D B598 pea.l [A5 - 0x4A68]
0000090E 2F16 move.l -[A7], [A6]
00000910 4EAD DE10 jsr [A5 - 0x21F0]
00000914 4A80 tst.l D0
00000916 504F addq.w A7, 8
00000918 660E bne +0x10 /* 00000928 */
0000091A 7604 moveq.l D3, 0x04
0000091C 200A move.l D0, A2
0000091E 6774 beq +0x76 /* 00000994 */
00000920 284A movea.l A4, A2
00000922 49EC 0020 lea.l A4, [A4 + 0x20]
00000926 606C bra +0x6E /* 00000994 */
label00000928:
00000928 486D B5BC pea.l [A5 - 0x4A44]
0000092C 2F16 move.l -[A7], [A6]
0000092E 4EAD DE10 jsr [A5 - 0x21F0]
00000932 4A80 tst.l D0
00000934 504F addq.w A7, 8
00000936 660E bne +0x10 /* 00000946 */
00000938 7602 moveq.l D3, 0x02
0000093A 200A move.l D0, A2
0000093C 6756 beq +0x58 /* 00000994 */
0000093E 284A movea.l A4, A2
00000940 49EC 0018 lea.l A4, [A4 + 0x18]
00000944 604E bra +0x50 /* 00000994 */
label00000946:
00000946 486D B5CA pea.l [A5 - 0x4A36]
0000094A 2F16 move.l -[A7], [A6]
0000094C 4EAD DE10 jsr [A5 - 0x21F0]
00000950 4A80 tst.l D0
00000952 504F addq.w A7, 8
00000954 660E bne +0x10 /* 00000964 */
00000956 7603 moveq.l D3, 0x03
00000958 200A move.l D0, A2
0000095A 6738 beq +0x3A /* 00000994 */
0000095C 284A movea.l A4, A2
0000095E 49EC 001C lea.l A4, [A4 + 0x1C]
00000962 6030 bra +0x32 /* 00000994 */
label00000964:
00000964 486D B5A2 pea.l [A5 - 0x4A5E]
00000968 2F16 move.l -[A7], [A6]
0000096A 4EAD DE10 jsr [A5 - 0x21F0]
0000096E 4A80 tst.l D0
00000970 504F addq.w A7, 8
00000972 6606 bne +0x8 /* 0000097A */
00000974 7606 moveq.l D3, 0x06
00000976 99CC sub.l A4, A4
00000978 601A bra +0x1C /* 00000994 */
label0000097A:
0000097A 486D B5AE pea.l [A5 - 0x4A52]
0000097E 2F16 move.l -[A7], [A6]
00000980 4EAD DE10 jsr [A5 - 0x21F0]
00000984 4A80 tst.l D0
00000986 504F addq.w A7, 8
00000988 6606 bne +0x8 /* 00000990 */
0000098A 7607 moveq.l D3, 0x07
0000098C 99CC sub.l A4, A4
0000098E 6004 bra +0x6 /* 00000994 */
label00000990:
00000990 7605 moveq.l D3, 0x05
00000992 99CC sub.l A4, A4
label00000994:
00000994 1F3C 000C move.b -[A7], 0xC
00000998 2F05 move.l -[A7], D5
0000099A 4EBA 4AEE jsr [PC + 0x4AEE /* 0000548A */]
0000099E 2808 move.l D4, A0
000009A0 2008 move.l D0, A0
000009A2 5C4F addq.w A7, 6
000009A4 6768 beq +0x6A /* 00000A0E */
000009A6 2F0E move.l -[A7], A6
000009A8 2F04 move.l -[A7], D4
000009AA 4EBA 20C8 jsr [PC + 0x20C8 /* 00002A74 */]
000009AE 2008 move.l D0, A0
000009B0 56C0 sne D0
000009B2 4400 neg.b D0
000009B4 4880 ext.w D0
000009B6 48C0 ext.l D0
000009B8 2F40 0008 move.l [A7 + 0x8], D0
000009BC 2F04 move.l -[A7], D4
000009BE 4EAD DD88 jsr [A5 - 0x2278]
000009C2 4AAF 000C tst.l [A7 + 0xC]
000009C6 4FEF 000C lea.l A7, [A7 + 0xC]
000009CA 6742 beq +0x44 /* 00000A0E */
000009CC 200B move.l D0, A3
000009CE 671A beq +0x1C /* 000009EA */
000009D0 2F2B 0050 move.l -[A7], [A3 + 0x50]
000009D4 4EAD DD88 jsr [A5 - 0x2278]
000009D8 1F3C 0002 move.b -[A7], 0x2
000009DC 2F2F 013A move.l -[A7], [A7 + 0x13A]
000009E0 2F05 move.l -[A7], D5
000009E2 4EBA 4C9C jsr [PC + 0x4C9C /* 00005680 */]
000009E6 4FEF 000E lea.l A7, [A7 + 0xE]
label000009EA:
000009EA 0C03 0005 cmpi.b D3, 0x5
000009EE 6714 beq +0x16 /* 00000A04 */
000009F0 3F06 move.w -[A7], D6
000009F2 2F07 move.l -[A7], D7
000009F4 2F0E move.l -[A7], A6
000009F6 2F2F 013E move.l -[A7], [A7 + 0x13E]
000009FA 2F05 move.l -[A7], D5
000009FC 4EBA FB8E jsr [PC - 0x472 /* 0000058C */]
00000A00 4FEF 0012 lea.l A7, [A7 + 0x12]
label00000A04:
00000A04 4FEF 0108 lea.l A7, [A7 + 0x108]
00000A08 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000A0C 4E75 rts
label00000A0E:
00000A0E 554F subq.w A7, 2
00000A10 2F07 move.l -[A7], D7
00000A12 486F 010A pea.l [A7 + 0x10A]
00000A16 2F06 move.l -[A7], D6
00000A18 4EAD DA36 jsr [A5 - 0x25CA]
00000A1C 301F move.w D0, [A7]+
00000A1E 3800 move.w D4, D0
00000A20 6630 bne +0x32 /* 00000A52 */
00000A22 486F 0004 pea.l [A7 + 0x4]
00000A26 2F2F 013C move.l -[A7], [A7 + 0x13C]
00000A2A 4EBA F6D4 jsr [PC - 0x92C /* 00000100 */]
00000A2E 3F2F 0150 move.w -[A7], [A7 + 0x150]
00000A32 2F0C move.l -[A7], A4
00000A34 1F03 move.b -[A7], D3
00000A36 2F2F 0114 move.l -[A7], [A7 + 0x114]
00000A3A 2F0E move.l -[A7], A6
00000A3C 486F 001C pea.l [A7 + 0x1C]
00000A40 42A7 clr.l -[A7]
00000A42 2F0A move.l -[A7], A2
00000A44 2F0B move.l -[A7], A3
00000A46 2F05 move.l -[A7], D5
00000A48 4EBA 18B8 jsr [PC + 0x18B8 /* 00002302 */]
00000A4C 3800 move.w D4, D0
00000A4E 4FEF 002C lea.l A7, [A7 + 0x2C]
label00000A52:
00000A52 4A44 tst.w D4
00000A54 671A beq +0x1C /* 00000A70 */
00000A56 4AAF 0104 tst.l [A7 + 0x104]
00000A5A 6706 beq +0x8 /* 00000A62 */
00000A5C 206F 0104 movea.l A0, [A7 + 0x104]
00000A60 A023 syscall DisposHandle/DisposeHandle
label00000A62:
00000A62 3F04 move.w -[A7], D4
00000A64 3F3C 0002 move.w -[A7], 0x2
00000A68 4EAD DE98 jsr [A5 - 0x2168]
00000A6C 584F addq.w A7, 4
00000A6E 600E bra +0x10 /* 00000A7E */
label00000A70:
00000A70 200B move.l D0, A3
00000A72 670A beq +0xC /* 00000A7E */
00000A74 2F0A move.l -[A7], A2
00000A76 2F0B move.l -[A7], A3
00000A78 4EBA 1FA2 jsr [PC + 0x1FA2 /* 00002A1C */]
00000A7C 504F addq.w A7, 8
label00000A7E:
00000A7E 200B move.l D0, A3
00000A80 671A beq +0x1C /* 00000A9C */
00000A82 2F2B 0050 move.l -[A7], [A3 + 0x50]
00000A86 4EAD DD88 jsr [A5 - 0x2278]
00000A8A 1F3C 0002 move.b -[A7], 0x2
00000A8E 2F2F 013A move.l -[A7], [A7 + 0x13A]
00000A92 2F05 move.l -[A7], D5
00000A94 4EBA 4BEA jsr [PC + 0x4BEA /* 00005680 */]
00000A98 4FEF 000E lea.l A7, [A7 + 0xE]
label00000A9C:
00000A9C 4FEF 0108 lea.l A7, [A7 + 0x108]
00000AA0 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000AA4 4E75 rts
00000AA6 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00000AAA 594F subq.w A7, 4
00000AAC 2C6F 001C movea.l A6, [A7 + 0x1C]
00000AB0 262F 0020 move.l D3, [A7 + 0x20]
00000AB4 1F3C 000C move.b -[A7], 0xC
00000AB8 2F0E move.l -[A7], A6
00000ABA 4EBA 49CE jsr [PC + 0x49CE /* 0000548A */]
00000ABE 2648 movea.l A3, A0
00000AC0 200B move.l D0, A3
00000AC2 5C4F addq.w A7, 6
00000AC4 6700 008A beq +0x8C /* 00000B50 */
00000AC8 2F2F 0024 move.l -[A7], [A7 + 0x24]
00000ACC 2F0B move.l -[A7], A3
00000ACE 4EBA 1FA4 jsr [PC + 0x1FA4 /* 00002A74 */]
00000AD2 2448 movea.l A2, A0
00000AD4 200A move.l D0, A2
00000AD6 504F addq.w A7, 8
00000AD8 676E beq +0x70 /* 00000B48 */
00000ADA 4227 clr.b -[A7]
00000ADC 2F03 move.l -[A7], D3
00000ADE 2F0E move.l -[A7], A6
00000AE0 4EBA 4B9E jsr [PC + 0x4B9E /* 00005680 */]
00000AE4 2848 movea.l A4, A0
00000AE6 2008 move.l D0, A0
00000AE8 4FEF 000A lea.l A7, [A7 + 0xA]
00000AEC 674A beq +0x4C /* 00000B38 */
00000AEE 4AAC 0050 tst.l [A4 + 0x50]
00000AF2 6744 beq +0x46 /* 00000B38 */
00000AF4 206C 0050 movea.l A0, [A4 + 0x50]
00000AF8 2050 movea.l A0, [A0]
00000AFA 4AA8 0030 tst.l [A0 + 0x30]
00000AFE 6738 beq +0x3A /* 00000B38 */
00000B00 082A 0007 010C btst.b [A2 + 0x10C], 0x7
00000B06 6730 beq +0x32 /* 00000B38 */
00000B08 4AAA 0100 tst.l [A2 + 0x100]
00000B0C 672A beq +0x2C /* 00000B38 */
00000B0E 206A 0100 movea.l A0, [A2 + 0x100]
00000B12 2050 movea.l A0, [A0]
00000B14 4A28 0011 tst.b [A0 + 0x11]
00000B18 661E bne +0x20 /* 00000B38 */
00000B1A 2F2A 0100 move.l -[A7], [A2 + 0x100]
00000B1E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000B22 A95D syscall HiliteControl
00000B24 207C 0000 000F movea.l A0, 0xF
00000B2A 43D7 lea.l A1, [A7]
00000B2C A03B syscall Delay
00000B2E 2280 move.l [A1], D0
00000B30 2F2A 0100 move.l -[A7], [A2 + 0x100]
00000B34 4267 clr.w -[A7]
00000B36 A95D syscall HiliteControl
label00000B38:
00000B38 1F3C 0002 move.b -[A7], 0x2
00000B3C 2F03 move.l -[A7], D3
00000B3E 2F0E move.l -[A7], A6
00000B40 4EBA 4B3E jsr [PC + 0x4B3E /* 00005680 */]
00000B44 4FEF 000A lea.l A7, [A7 + 0xA]
label00000B48:
00000B48 2F0B move.l -[A7], A3
00000B4A 4EAD DD88 jsr [A5 - 0x2278]
00000B4E 584F addq.w A7, 4
label00000B50:
00000B50 584F addq.w A7, 4
00000B52 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00000B56 4E75 rts
00000B58 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00000B5C 286F 0018 movea.l A4, [A7 + 0x18]
00000B60 282F 001C move.l D4, [A7 + 0x1C]
00000B64 262F 0020 move.l D3, [A7 + 0x20]
00000B68 4A84 tst.l D4
00000B6A 6D00 0080 blt +0x82 /* 00000BEC */
00000B6E 4227 clr.b -[A7]
00000B70 2F04 move.l -[A7], D4
00000B72 2F0C move.l -[A7], A4
00000B74 4EBA 4B0A jsr [PC + 0x4B0A /* 00005680 */]
00000B78 2448 movea.l A2, A0
00000B7A 2008 move.l D0, A0
00000B7C 4FEF 000A lea.l A7, [A7 + 0xA]
00000B80 676A beq +0x6C /* 00000BEC */
00000B82 4AAA 0050 tst.l [A2 + 0x50]
00000B86 6754 beq +0x56 /* 00000BDC */
00000B88 206A 0050 movea.l A0, [A2 + 0x50]
00000B8C 2050 movea.l A0, [A0]
00000B8E B6A8 0034 cmp.l D3, [A0 + 0x34]
00000B92 6748 beq +0x4A /* 00000BDC */
00000B94 2F2A 0050 move.l -[A7], [A2 + 0x50]
00000B98 4EAD DD80 jsr [A5 - 0x2280]
00000B9C 2648 movea.l A3, A0
00000B9E 2743 0034 move.l [A3 + 0x34], D3
00000BA2 4AAB 0004 tst.l [A3 + 0x4]
00000BA6 584F addq.w A7, 4
00000BA8 6728 beq +0x2A /* 00000BD2 */
00000BAA 2F2A 0048 move.l -[A7], [A2 + 0x48]
00000BAE 4EAD DD40 jsr [A5 - 0x22C0]
00000BB2 4A83 tst.l D3
00000BB4 584F addq.w A7, 4
00000BB6 660C bne +0xE /* 00000BC4 */
00000BB8 2F2B 0004 move.l -[A7], [A3 + 0x4]
00000BBC A927 syscall InvalRgn
00000BBE 2F2B 0004 move.l -[A7], [A3 + 0x4]
00000BC2 A8DD syscall SetEmptyRgn
label00000BC4:
00000BC4 2F0B move.l -[A7], A3
00000BC6 2F0A move.l -[A7], A2
00000BC8 4EBA 1E52 jsr [PC + 0x1E52 /* 00002A1C */]
00000BCC 4EAD DD48 jsr [A5 - 0x22B8]
00000BD0 504F addq.w A7, 8
label00000BD2:
00000BD2 2F2A 0050 move.l -[A7], [A2 + 0x50]
00000BD6 4EAD DD88 jsr [A5 - 0x2278]
00000BDA 584F addq.w A7, 4
label00000BDC:
00000BDC 1F3C 0002 move.b -[A7], 0x2
00000BE0 42A7 clr.l -[A7]
00000BE2 2F0C move.l -[A7], A4
00000BE4 4EBA 4A9A jsr [PC + 0x4A9A /* 00005680 */]
00000BE8 4FEF 000A lea.l A7, [A7 + 0xA]
label00000BEC:
00000BEC 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000BF0 4E75 rts
00000BF2 48E7 1020 movem.l -[A7], D3,A2
00000BF6 5D4F subq.w A7, 6
00000BF8 246F 0012 movea.l A2, [A7 + 0x12]
00000BFC 302D 135E move.w D0, [A5 + 0x135E]
00000C00 48C0 ext.l D0
00000C02 0680 0000 0080 addi.l D0, 0x80
00000C08 2F00 move.l -[A7], D0
00000C0A 1F3C 0002 move.b -[A7], 0x2
00000C0E 42A7 clr.l -[A7]
00000C10 2F0A move.l -[A7], A2
00000C12 4EAD E970 jsr [A5 - 0x1690]
00000C16 42A7 clr.l -[A7]
00000C18 42A7 clr.l -[A7]
00000C1A 42A7 clr.l -[A7]
00000C1C 1F3C 0003 move.b -[A7], 0x3
00000C20 4EAD DB08 jsr [A5 - 0x24F8]
00000C24 3F00 move.w -[A7], D0
00000C26 4EAD E250 jsr [A5 - 0x1DB0]
00000C2A 4A80 tst.l D0
00000C2C 4FEF 001E lea.l A7, [A7 + 0x1E]
00000C30 671E beq +0x20 /* 00000C50 */
00000C32 302D 135E move.w D0, [A5 + 0x135E]
00000C36 48C0 ext.l D0
00000C38 0680 0000 0081 addi.l D0, 0x81
00000C3E 2F00 move.l -[A7], D0
00000C40 1F3C 0002 move.b -[A7], 0x2
00000C44 42A7 clr.l -[A7]
00000C46 2F0A move.l -[A7], A2
00000C48 4EAD E970 jsr [A5 - 0x1690]
00000C4C 4FEF 000E lea.l A7, [A7 + 0xE]
label00000C50:
00000C50 302D 135E move.w D0, [A5 + 0x135E]
00000C54 48C0 ext.l D0
00000C56 0680 0000 0082 addi.l D0, 0x82
00000C5C 2F00 move.l -[A7], D0
00000C5E 1F3C 0002 move.b -[A7], 0x2
00000C62 42A7 clr.l -[A7]
00000C64 2F0A move.l -[A7], A2
00000C66 4EAD E970 jsr [A5 - 0x1690]
00000C6A 302D 135E move.w D0, [A5 + 0x135E]
00000C6E 48C0 ext.l D0
00000C70 0680 0000 0083 addi.l D0, 0x83
00000C76 2F00 move.l -[A7], D0
00000C78 1F3C 0002 move.b -[A7], 0x2
00000C7C 42A7 clr.l -[A7]
00000C7E 2F0A move.l -[A7], A2
00000C80 4EAD E970 jsr [A5 - 0x1690]
00000C84 7600 moveq.l D3, 0x00
00000C86 42A7 clr.l -[A7]
00000C88 486F 0022 pea.l [A7 + 0x22]
00000C8C 486F 0024 pea.l [A7 + 0x24]
00000C90 4EAD DB50 jsr [A5 - 0x24B0]
00000C94 3600 move.w D3, D0
00000C96 4A43 tst.w D3
00000C98 4FEF 0028 lea.l A7, [A7 + 0x28]
00000C9C 6624 bne +0x26 /* 00000CC2 */
00000C9E 4AAF 0002 tst.l [A7 + 0x2]
00000CA2 671E beq +0x20 /* 00000CC2 */
00000CA4 302D 135E move.w D0, [A5 + 0x135E]
00000CA8 48C0 ext.l D0
00000CAA 0680 0000 0084 addi.l D0, 0x84
00000CB0 2F00 move.l -[A7], D0
00000CB2 1F3C 0002 move.b -[A7], 0x2
00000CB6 42A7 clr.l -[A7]
00000CB8 2F0A move.l -[A7], A2
00000CBA 4EAD E970 jsr [A5 - 0x1690]
00000CBE 4FEF 000E lea.l A7, [A7 + 0xE]
label00000CC2:
00000CC2 4AAF 0016 tst.l [A7 + 0x16]
00000CC6 671E beq +0x20 /* 00000CE6 */
00000CC8 302D 135E move.w D0, [A5 + 0x135E]
00000CCC 48C0 ext.l D0
00000CCE 0680 0000 0085 addi.l D0, 0x85
00000CD4 2F00 move.l -[A7], D0
00000CD6 1F3C 0002 move.b -[A7], 0x2
00000CDA 42A7 clr.l -[A7]
00000CDC 2F0A move.l -[A7], A2
00000CDE 4EAD E970 jsr [A5 - 0x1690]
00000CE2 4FEF 000E lea.l A7, [A7 + 0xE]
label00000CE6:
00000CE6 2F0A move.l -[A7], A2
00000CE8 4EAD EA48 jsr [A5 - 0x15B8]
00000CEC 584F addq.w A7, 4
00000CEE 2F00 move.l -[A7], D0
00000CF0 2F0A move.l -[A7], A2
00000CF2 4EBA F56E jsr [PC - 0xA92 /* 00000262 */]
00000CF6 4FEF 000E lea.l A7, [A7 + 0xE]
00000CFA 4CDF 0408 movem.l D3,A2, [A7]+
00000CFE 4E75 rts
00000D00 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000D04 514F subq.w A7, 8
00000D06 286F 001C movea.l A4, [A7 + 0x1C]
00000D0A 262F 0020 move.l D3, [A7 + 0x20]
00000D0E 4A83 tst.l D3
00000D10 6D70 blt +0x72 /* 00000D82 */
00000D12 4227 clr.b -[A7]
00000D14 2F03 move.l -[A7], D3
00000D16 2F0C move.l -[A7], A4
00000D18 4EBA 4966 jsr [PC + 0x4966 /* 00005680 */]
00000D1C 2448 movea.l A2, A0
00000D1E 2008 move.l D0, A0
00000D20 4FEF 000A lea.l A7, [A7 + 0xA]
00000D24 675C beq +0x5E /* 00000D82 */
00000D26 4AAA 0050 tst.l [A2 + 0x50]
00000D2A 6746 beq +0x48 /* 00000D72 */
00000D2C 2F0C move.l -[A7], A4
00000D2E 4EAD DD40 jsr [A5 - 0x22C0]
00000D32 4227 clr.b -[A7]
00000D34 486F 0006 pea.l [A7 + 0x6]
00000D38 2F2A 0048 move.l -[A7], [A2 + 0x48]
00000D3C 4EAD EA38 jsr [A5 - 0x15C8]
00000D40 2F2A 0050 move.l -[A7], [A2 + 0x50]
00000D44 4EAD DD80 jsr [A5 - 0x2280]
00000D48 2648 movea.l A3, A0
00000D4A 2F0B move.l -[A7], A3
00000D4C 2F0A move.l -[A7], A2
00000D4E 4EBA 1398 jsr [PC + 0x1398 /* 000020E8 */]
00000D52 2F2F 003E move.l -[A7], [A7 + 0x3E]
00000D56 486F 001E pea.l [A7 + 0x1E]
00000D5A 2F0B move.l -[A7], A3
00000D5C 2F0A move.l -[A7], A2
00000D5E 4EBA 150E jsr [PC + 0x150E /* 0000226E */]
00000D62 2F2A 0050 move.l -[A7], [A2 + 0x50]
00000D66 4EAD DD88 jsr [A5 - 0x2278]
00000D6A 4EAD DD48 jsr [A5 - 0x22B8]
00000D6E 4FEF 002E lea.l A7, [A7 + 0x2E]
label00000D72:
00000D72 1F3C 0002 move.b -[A7], 0x2
00000D76 42A7 clr.l -[A7]
00000D78 2F0C move.l -[A7], A4
00000D7A 4EBA 4904 jsr [PC + 0x4904 /* 00005680 */]
00000D7E 4FEF 000A lea.l A7, [A7 + 0xA]
label00000D82:
00000D82 504F addq.w A7, 8
00000D84 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00000D88 4E75 rts
fn00000D8A:
00000D8A 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00000D8E 594F subq.w A7, 4
00000D90 2E2F 002C move.l D7, [A7 + 0x2C]
00000D94 2C2F 0030 move.l D6, [A7 + 0x30]
00000D98 286F 0034 movea.l A4, [A7 + 0x34]
00000D9C 266F 0038 movea.l A3, [A7 + 0x38]
00000DA0 9DCE sub.l A6, A6
00000DA2 7A00 moveq.l D5, 0x00
00000DA4 200B move.l D0, A3
00000DA6 6702 beq +0x4 /* 00000DAA */
00000DA8 4293 clr.l [A3]
label00000DAA:
00000DAA 4AAD B2D8 tst.l [A5 - 0x4D28]
00000DAE 6706 beq +0x8 /* 00000DB6 */
00000DB0 4EAD FF50 jsr [A5 - 0xB0]
00000DB4 2C48 movea.l A6, A0
label00000DB6:
00000DB6 4AAD B2D8 tst.l [A5 - 0x4D28]
00000DBA 6716 beq +0x18 /* 00000DD2 */
00000DBC 2F05 move.l -[A7], D5
00000DBE 4EAD FEF0 jsr [A5 - 0x110]
00000DC2 3600 move.w D3, D0
00000DC4 3003 move.w D0, D3
00000DC6 48C0 ext.l D0
00000DC8 4A80 tst.l D0
00000DCA 584F addq.w A7, 4
00000DCC 6D66 blt +0x68 /* 00000E34 */
00000DCE 3883 move.w [A4], D3
00000DD0 6002 bra +0x4 /* 00000DD4 */
label00000DD2:
00000DD2 3614 move.w D3, [A4]
label00000DD4:
00000DD4 2F0B move.l -[A7], A3
00000DD6 2F06 move.l -[A7], D6
00000DD8 2F07 move.l -[A7], D7
00000DDA 3F03 move.w -[A7], D3
00000DDC 4EAD E470 jsr [A5 - 0x1B90]
00000DE0 2800 move.l D4, D0
00000DE2 4AAD B2D8 tst.l [A5 - 0x4D28]
00000DE6 4FEF 000E lea.l A7, [A7 + 0xE]
00000DEA 6728 beq +0x2A /* 00000E14 */
00000DEC 2005 move.l D0, D5
00000DEE 720A moveq.l D1, 0x0A
00000DF0 4EAD D8F8 jsr [A5 - 0x2708]
00000DF4 2056 movea.l A0, [A6]
00000DF6 D1C0 add.l A0, D0
00000DF8 2448 movea.l A2, A0
00000DFA 2484 move.l [A2], D4
00000DFC 200B move.l D0, A3
00000DFE 6606 bne +0x8 /* 00000E06 */
00000E00 2E80 move.l [A7], D0
00000E02 7000 moveq.l D0, 0x00
00000E04 6002 bra +0x4 /* 00000E08 */
label00000E06:
00000E06 2013 move.l D0, [A3]
label00000E08:
00000E08 2540 0004 move.l [A2 + 0x4], D0
00000E0C 3543 0008 move.w [A2 + 0x8], D3
00000E10 5285 addq.l D5, 1
00000E12 60A2 bra -0x5C /* 00000DB6 */
label00000E14:
00000E14 4A84 tst.l D4
00000E16 6D12 blt +0x14 /* 00000E2A */
00000E18 2F04 move.l -[A7], D4
00000E1A 3F03 move.w -[A7], D3
00000E1C 4EAD E188 jsr [A5 - 0x1E78]
00000E20 4FEF 000A lea.l A7, [A7 + 0xA]
00000E24 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000E28 4E75 rts
label00000E2A:
00000E2A 91C8 sub.l A0, A0
00000E2C 584F addq.w A7, 4
00000E2E 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000E32 4E75 rts
label00000E34:
00000E34 200E move.l D0, A6
00000E36 6712 beq +0x14 /* 00000E4A */
00000E38 2F0B move.l -[A7], A3
00000E3A 2F0C move.l -[A7], A4
00000E3C 4EAD FF58 jsr [A5 - 0xA8]
00000E40 4FEF 000C lea.l A7, [A7 + 0xC]
00000E44 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000E48 4E75 rts
label00000E4A:
00000E4A 91C8 sub.l A0, A0
00000E4C 584F addq.w A7, 4
00000E4E 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000E52 4E75 rts
00000E54 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
00000E58 2C6F 0020 movea.l A6, [A7 + 0x20]
00000E5C 282F 0024 move.l D4, [A7 + 0x24]
00000E60 262F 0028 move.l D3, [A7 + 0x28]
00000E64 4A84 tst.l D4
00000E66 6D00 012C blt +0x12E /* 00000F94 */
00000E6A 4227 clr.b -[A7]
00000E6C 2F04 move.l -[A7], D4
00000E6E 2F0E move.l -[A7], A6
00000E70 4EBA 480E jsr [PC + 0x480E /* 00005680 */]
00000E74 2648 movea.l A3, A0
00000E76 2008 move.l D0, A0
00000E78 4FEF 000A lea.l A7, [A7 + 0xA]
00000E7C 6700 0116 beq +0x118 /* 00000F94 */
00000E80 4AAB 0050 tst.l [A3 + 0x50]
00000E84 6700 00FE beq +0x100 /* 00000F84 */
00000E88 2F2B 0050 move.l -[A7], [A3 + 0x50]
00000E8C 4EAD DD80 jsr [A5 - 0x2280]
00000E90 2848 movea.l A4, A0
00000E92 2F0E move.l -[A7], A6
00000E94 4EAD DD40 jsr [A5 - 0x22C0]
00000E98 486E 0010 pea.l [A6 + 0x10]
00000E9C A928 syscall InvalRect
00000E9E 4A83 tst.l D3
00000EA0 504F addq.w A7, 8
00000EA2 6708 beq +0xA /* 00000EAC */
00000EA4 4EAD DFB0 jsr [A5 - 0x2050]
00000EA8 BDC8 cmpa.l A6, A0
00000EAA 660A bne +0xC /* 00000EB6 */
label00000EAC:
00000EAC 2F03 move.l -[A7], D3
00000EAE 2F0B move.l -[A7], A3
00000EB0 4EBA 1E78 jsr [PC + 0x1E78 /* 00002D2A */]
00000EB4 504F addq.w A7, 8
label00000EB6:
00000EB6 2943 0030 move.l [A4 + 0x30], D3
00000EBA 4A83 tst.l D3
00000EBC 670C beq +0xE /* 00000ECA */
00000EBE 2F0C move.l -[A7], A4
00000EC0 2F0B move.l -[A7], A3
00000EC2 4EBA 1B58 jsr [PC + 0x1B58 /* 00002A1C */]
00000EC6 504F addq.w A7, 8
00000EC8 6024 bra +0x26 /* 00000EEE */
label00000ECA:
00000ECA 382B 0044 move.w D4, [A3 + 0x44]
00000ECE 48C4 ext.l D4
00000ED0 4484 neg.l D4
00000ED2 376B 0040 0044 move.w [A3 + 0x44], [A3 + 0x40]
00000ED8 4AAC 0004 tst.l [A4 + 0x4]
00000EDC 6706 beq +0x8 /* 00000EE4 */
00000EDE 2F2C 0004 move.l -[A7], [A4 + 0x4]
00000EE2 A8DD syscall SetEmptyRgn
label00000EE4:
00000EE4 3F04 move.w -[A7], D4
00000EE6 2F0B move.l -[A7], A3
00000EE8 4EBA 1AAE jsr [PC + 0x1AAE /* 00002998 */]
00000EEC 5C4F addq.w A7, 6
label00000EEE:
00000EEE 1F3C 000C move.b -[A7], 0xC
00000EF2 2F0E move.l -[A7], A6
00000EF4 4EBA 4594 jsr [PC + 0x4594 /* 0000548A */]
00000EF8 2A08 move.l D5, A0
00000EFA 2008 move.l D0, A0
00000EFC 5C4F addq.w A7, 6
00000EFE 6760 beq +0x62 /* 00000F60 */
00000F00 594F subq.w A7, 4
00000F02 2F05 move.l -[A7], D5
00000F04 4EAD D9AC jsr [A5 - 0x2654]
00000F08 201F move.l D0, [A7]+
00000F0A 223C 0000 0112 move.l D1, 0x112
00000F10 4EAD D8FE jsr [A5 - 0x2702]
00000F14 2800 move.l D4, D0
00000F16 2045 movea.l A0, D5
00000F18 A029 syscall HLock
00000F1A 2045 movea.l A0, D5
00000F1C 2450 movea.l A2, [A0]
00000F1E 6034 bra +0x36 /* 00000F54 */
label00000F20:
00000F20 4AAA 0100 tst.l [A2 + 0x100]
00000F24 672A beq +0x2C /* 00000F50 */
00000F26 2F03 move.l -[A7], D3
00000F28 2F2A 0100 move.l -[A7], [A2 + 0x100]
00000F2C 4EAD E920 jsr [A5 - 0x16E0]
00000F30 082A 0007 010C btst.b [A2 + 0x10C], 0x7
00000F36 6608 bne +0xA /* 00000F40 */
00000F38 203C 0000 00FF move.l D0, 0xFF
00000F3E 6002 bra +0x4 /* 00000F42 */
label00000F40:
00000F40 7000 moveq.l D0, 0x00
label00000F42:
00000F42 3F00 move.w -[A7], D0
00000F44 2F2A 0100 move.l -[A7], [A2 + 0x100]
00000F48 4EAD E918 jsr [A5 - 0x16E8]
00000F4C 4FEF 000E lea.l A7, [A7 + 0xE]
label00000F50:
00000F50 45EA 0112 lea.l A2, [A2 + 0x112]
label00000F54:
00000F54 2004 move.l D0, D4
00000F56 5384 subq.l D4, 1
00000F58 4A80 tst.l D0
00000F5A 66C4 bne -0x3A /* 00000F20 */
00000F5C 2045 movea.l A0, D5
00000F5E A02A syscall HUnlock
label00000F60:
00000F60 4A83 tst.l D3
00000F62 6712 beq +0x14 /* 00000F76 */
00000F64 486D E918 pea.l [A5 - 0x16E8]
00000F68 42A7 clr.l -[A7]
00000F6A 2F0C move.l -[A7], A4
00000F6C 2F0B move.l -[A7], A3
00000F6E 4EBA 0E52 jsr [PC + 0xE52 /* 00001DC2 */]
00000F72 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000F76:
00000F76 4EAD DD48 jsr [A5 - 0x22B8]
00000F7A 2F2B 0050 move.l -[A7], [A3 + 0x50]
00000F7E 4EAD DD88 jsr [A5 - 0x2278]
00000F82 584F addq.w A7, 4
label00000F84:
00000F84 1F3C 0002 move.b -[A7], 0x2
00000F88 42A7 clr.l -[A7]
00000F8A 2F0E move.l -[A7], A6
00000F8C 4EBA 46F2 jsr [PC + 0x46F2 /* 00005680 */]
00000F90 4FEF 000A lea.l A7, [A7 + 0xA]
label00000F94:
00000F94 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00000F98 4E75 rts
00000F9A 48E7 1820 movem.l -[A7], D3,D4,A2
00000F9E 4FEF FFC6 lea.l A7, [A7 - 0x3A]
00000FA2 246F 004A movea.l A2, [A7 + 0x4A]
00000FA6 382F 004E move.w D4, [A7 + 0x4E]
00000FAA 41ED 8BF2 lea.l A0, [A5 - 0x740E]
00000FAE 43D7 lea.l A1, [A7]
00000FB0 700D moveq.l D0, 0x0D
label00000FB2:
00000FB2 22D8 move.l [A1]+, [A0]+
00000FB4 51C8 FFFC dbf D0, -0x6 /* 00000FB2 */
00000FB8 32D8 move.w [A1]+, [A0]+
00000FBA 7600 moveq.l D3, 0x00
00000FBC 4AAD 8C2C tst.l [A5 - 0x73D4]
00000FC0 6618 bne +0x1A /* 00000FDA */
00000FC2 554F subq.w A7, 2
00000FC4 2F3C 4C4F 4F4B move.l -[A7], 0x4C4F4F4B /* 'LOOK' */
00000FCA A80D syscall Count1Resources
00000FCC 301F move.w D0, [A7]+
00000FCE 56C0 sne D0
00000FD0 4400 neg.b D0
00000FD2 4880 ext.w D0
00000FD4 48C0 ext.l D0
00000FD6 2B40 8C2C move.l [A5 - 0x73D4], D0
label00000FDA:
00000FDA 257C 4350 4E4C 004C move.l [A2 + 0x4C], 0x43504E4C /* 'CPNL' */
00000FE2 3F44 0038 move.w [A7 + 0x38], D4
00000FE6 594F subq.w A7, 4
00000FE8 A8D8 syscall NewRgn
00000FEA 205F movea.l A0, [A7]+
00000FEC 2F48 0004 move.l [A7 + 0x4], A0
00000FF0 7001 moveq.l D0, 0x01
00000FF2 2F40 0030 move.l [A7 + 0x30], D0
00000FF6 7001 moveq.l D0, 0x01
00000FF8 2F40 0034 move.l [A7 + 0x34], D0
00000FFC 4857 pea.l [A7]
00000FFE 2F0A move.l -[A7], A2
00001000 4EBA 082E jsr [PC + 0x82E /* 00001830 */]
00001004 3600 move.w D3, D0
00001006 504F addq.w A7, 8
00001008 6616 bne +0x18 /* 00001020 */
0000100A 554F subq.w A7, 2
0000100C 486F 0002 pea.l [A7 + 0x2]
00001010 486A 0050 pea.l [A2 + 0x50]
00001014 4878 003A push.l 0x3A /* ':' */
00001018 4EAD DA36 jsr [A5 - 0x25CA]
0000101C 301F move.w D0, [A7]+
0000101E 3600 move.w D3, D0
label00001020:
00001020 4A43 tst.w D3
00001022 670A beq +0xC /* 0000102E */
00001024 4857 pea.l [A7]
00001026 2F0A move.l -[A7], A2
00001028 4EBA 0FA8 jsr [PC + 0xFA8 /* 00001FD2 */]
0000102C 504F addq.w A7, 8
label0000102E:
0000102E 3003 move.w D0, D3
00001030 4FEF 003A lea.l A7, [A7 + 0x3A]
00001034 4CDF 0418 movem.l D3,D4,A2, [A7]+
00001038 4E75 rts
0000103A 2F0A move.l -[A7], A2
0000103C 246F 0008 movea.l A2, [A7 + 0x8]
00001040 4AAA 0050 tst.l [A2 + 0x50]
00001044 6724 beq +0x26 /* 0000106A */
00001046 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000104A 4EAD DD80 jsr [A5 - 0x2280]
0000104E 584F addq.w A7, 4
00001050 2F08 move.l -[A7], A0
00001052 2F0A move.l -[A7], A2
00001054 4EBA 0F7C jsr [PC + 0xF7C /* 00001FD2 */]
00001058 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000105C 4EAD DD88 jsr [A5 - 0x2278]
00001060 206A 0050 movea.l A0, [A2 + 0x50]
00001064 A023 syscall DisposHandle/DisposeHandle
00001066 4FEF 000C lea.l A7, [A7 + 0xC]
label0000106A:
0000106A 245F movea.l A2, [A7]+
0000106C 4E75 rts
0000106E 2F0A move.l -[A7], A2
00001070 594F subq.w A7, 4
00001072 246F 000C movea.l A2, [A7 + 0xC]
00001076 4AAA 0050 tst.l [A2 + 0x50]
0000107A 6736 beq +0x38 /* 000010B2 */
0000107C 206A 0050 movea.l A0, [A2 + 0x50]
00001080 2050 movea.l A0, [A0]
00001082 4AA8 0030 tst.l [A0 + 0x30]
00001086 672A beq +0x2C /* 000010B2 */
00001088 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000108C 4EAD DD80 jsr [A5 - 0x2280]
00001090 2F48 0004 move.l [A7 + 0x4], A0
00001094 206A 0048 movea.l A0, [A2 + 0x48]
00001098 2F28 0018 move.l -[A7], [A0 + 0x18]
0000109C 486D E6D0 pea.l [A5 - 0x1930]
000010A0 2F0A move.l -[A7], A2
000010A2 42A7 clr.l -[A7]
000010A4 4EAD DE28 jsr [A5 - 0x21D8]
000010A8 2F2A 0050 move.l -[A7], [A2 + 0x50]
000010AC 4EAD DD88 jsr [A5 - 0x2278]
000010B0 504F addq.w A7, 8
label000010B2:
000010B2 584F addq.w A7, 4
000010B4 245F movea.l A2, [A7]+
000010B6 4E75 rts
000010B8 48E7 0038 movem.l -[A7], A2,A3,A4
000010BC 514F subq.w A7, 8
000010BE 246F 0018 movea.l A2, [A7 + 0x18]
000010C2 4AAA 0050 tst.l [A2 + 0x50]
000010C6 6700 009A beq +0x9C /* 00001162 */
000010CA 206A 0050 movea.l A0, [A2 + 0x50]
000010CE 2050 movea.l A0, [A0]
000010D0 4AA8 0030 tst.l [A0 + 0x30]
000010D4 6700 008C beq +0x8E /* 00001162 */
000010D8 2F2A 0050 move.l -[A7], [A2 + 0x50]
000010DC 4EAD DD80 jsr [A5 - 0x2280]
000010E0 2648 movea.l A3, A0
000010E2 206A 0048 movea.l A0, [A2 + 0x48]
000010E6 2F28 0018 move.l -[A7], [A0 + 0x18]
000010EA 486D E6D0 pea.l [A5 - 0x1930]
000010EE 2F0A move.l -[A7], A2
000010F0 42A7 clr.l -[A7]
000010F2 4EAD DE28 jsr [A5 - 0x21D8]
000010F6 2F2A 0050 move.l -[A7], [A2 + 0x50]
000010FA 4EBA 0A6C jsr [PC + 0xA6C /* 00001B68 */]
000010FE 4227 clr.b -[A7]
00001100 2F2A 0048 move.l -[A7], [A2 + 0x48]
00001104 4EAD E9C8 jsr [A5 - 0x1638]
00001108 5C4F addq.w A7, 6
0000110A 2F08 move.l -[A7], A0
0000110C 2F0B move.l -[A7], A3
0000110E 2F0A move.l -[A7], A2
00001110 4EBA 0A9A jsr [PC + 0xA9A /* 00001BAC */]
00001114 1F3C 0001 move.b -[A7], 0x1
00001118 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000111C 4EAD E9C8 jsr [A5 - 0x1638]
00001120 206A 0050 movea.l A0, [A2 + 0x50]
00001124 2050 movea.l A0, [A0]
00001126 2868 0004 movea.l A4, [A0 + 0x4]
0000112A 200C move.l D0, A4
0000112C 4FEF 001A lea.l A7, [A7 + 0x1A]
00001130 6714 beq +0x16 /* 00001146 */
00001132 2054 movea.l A0, [A4]
00001134 2EA8 0002 move.l [A7], [A0 + 0x2]
00001138 2F68 0006 0004 move.l [A7 + 0x4], [A0 + 0x6]
0000113E 4857 pea.l [A7]
00001140 4EAD DCD8 jsr [A5 - 0x2328]
00001144 584F addq.w A7, 4
label00001146:
00001146 2F0B move.l -[A7], A3
00001148 2F0A move.l -[A7], A2
0000114A 4EBA 0B50 jsr [PC + 0xB50 /* 00001C9C */]
0000114E 2F0B move.l -[A7], A3
00001150 2F0A move.l -[A7], A2
00001152 4EBA 0C06 jsr [PC + 0xC06 /* 00001D5A */]
00001156 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000115A 4EAD DD88 jsr [A5 - 0x2278]
0000115E 4FEF 0014 lea.l A7, [A7 + 0x14]
label00001162:
00001162 504F addq.w A7, 8
00001164 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00001168 4E75 rts
0000116A 48E7 0038 movem.l -[A7], A2,A3,A4
0000116E 514F subq.w A7, 8
00001170 246F 0018 movea.l A2, [A7 + 0x18]
00001174 286F 001C movea.l A4, [A7 + 0x1C]
00001178 2F6C 000A 0004 move.l [A7 + 0x4], [A4 + 0xA]
0000117E 4AAA 0050 tst.l [A2 + 0x50]
00001182 6700 00E4 beq +0xE6 /* 00001268 */
00001186 486F 0004 pea.l [A7 + 0x4]
0000118A A871 syscall GlobalToLocal
0000118C 2F2A 0050 move.l -[A7], [A2 + 0x50]
00001190 4EAD DD80 jsr [A5 - 0x2280]
00001194 2648 movea.l A3, A0
00001196 4AAB 0004 tst.l [A3 + 0x4]
0000119A 584F addq.w A7, 4
0000119C 672C beq +0x2E /* 000011CA */
0000119E 554F subq.w A7, 2
000011A0 2F2F 0006 move.l -[A7], [A7 + 0x6]
000011A4 2F2B 0004 move.l -[A7], [A3 + 0x4]
000011A8 A8E8 syscall PtInRgn
000011AA 101F move.b D0, [A7]+
000011AC 671C beq +0x1E /* 000011CA */
000011AE 2F2A 0048 move.l -[A7], [A2 + 0x48]
000011B2 4EAD DFA8 jsr [A5 - 0x2058]
000011B6 2F2F 0008 move.l -[A7], [A7 + 0x8]
000011BA 2F0B move.l -[A7], A3
000011BC 2F0A move.l -[A7], A2
000011BE 4EBA 0FB0 jsr [PC + 0xFB0 /* 00002170 */]
000011C2 4FEF 0010 lea.l A7, [A7 + 0x10]
000011C6 6000 0096 bra +0x98 /* 0000125E */
label000011CA:
000011CA 554F subq.w A7, 2
000011CC 2F2F 0006 move.l -[A7], [A7 + 0x6]
000011D0 2F2A 0048 move.l -[A7], [A2 + 0x48]
000011D4 486F 000A pea.l [A7 + 0xA]
000011D8 A96C syscall FindControl
000011DA 301F move.w D0, [A7]+
000011DC 0C40 000A cmpi.w D0, 0xA /* '\n' */
000011E0 6616 bne +0x18 /* 000011F8 */
000011E2 2F2F 0004 move.l -[A7], [A7 + 0x4]
000011E6 2F2F 0004 move.l -[A7], [A7 + 0x4]
000011EA 2F0B move.l -[A7], A3
000011EC 2F0A move.l -[A7], A2
000011EE 4EBA 0D64 jsr [PC + 0xD64 /* 00001F54 */]
000011F2 4FEF 0010 lea.l A7, [A7 + 0x10]
000011F6 6066 bra +0x68 /* 0000125E */
label000011F8:
000011F8 4AAB 0024 tst.l [A3 + 0x24]
000011FC 6760 beq +0x62 /* 0000125E */
000011FE 554F subq.w A7, 2
00001200 2F2F 0006 move.l -[A7], [A7 + 0x6]
00001204 206B 0024 movea.l A0, [A3 + 0x24]
00001208 2050 movea.l A0, [A0]
0000120A 4868 0008 pea.l [A0 + 0x8]
0000120E A8AD syscall PtInRect
00001210 101F move.b D0, [A7]+
00001212 674A beq +0x4C /* 0000125E */
00001214 2F2A 0048 move.l -[A7], [A2 + 0x48]
00001218 4EAD DFA8 jsr [A5 - 0x2058]
0000121C 4878 0001 push.l 0x1
00001220 2F2A 0048 move.l -[A7], [A2 + 0x48]
00001224 4EAD EA48 jsr [A5 - 0x15B8]
00001228 584F addq.w A7, 4
0000122A 2F00 move.l -[A7], D0
0000122C 2F2A 0048 move.l -[A7], [A2 + 0x48]
00001230 4EBA F0F8 jsr [PC - 0xF08 /* 0000032A */]
00001234 2F2A 0048 move.l -[A7], [A2 + 0x48]
00001238 4EAD EA30 jsr [A5 - 0x15D0]
0000123C 2F2F 0018 move.l -[A7], [A7 + 0x18]
00001240 302C 000E move.w D0, [A4 + 0xE]
00001244 0280 0000 0200 andi.l D0, 0x200
0000124A 56C0 sne D0
0000124C 4400 neg.b D0
0000124E 4880 ext.w D0
00001250 48C0 ext.l D0
00001252 1F00 move.b -[A7], D0
00001254 2F2B 0024 move.l -[A7], [A3 + 0x24]
00001258 A9D4 syscall TEClick
0000125A 4FEF 0014 lea.l A7, [A7 + 0x14]
label0000125E:
0000125E 2F2A 0050 move.l -[A7], [A2 + 0x50]
00001262 4EAD DD88 jsr [A5 - 0x2278]
00001266 584F addq.w A7, 4
label00001268:
00001268 504F addq.w A7, 8
0000126A 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000126E 4E75 rts
00001270 4E75 rts
fn00001272:
00001272 48E7 0030 movem.l -[A7], A2,A3
00001276 266F 000C movea.l A3, [A7 + 0xC]
0000127A 4AAD 8C2C tst.l [A5 - 0x73D4]
0000127E 6766 beq +0x68 /* 000012E6 */
00001280 594F subq.w A7, 4
00001282 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00001286 4E90 jsr [A0]
00001288 205F movea.l A0, [A7]+
0000128A 2448 movea.l A2, A0
0000128C 200A move.l D0, A2
0000128E 6716 beq +0x18 /* 000012A6 */
00001290 302A 006C move.w D0, [A2 + 0x6C]
00001294 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00001298 660C bne +0xE /* 000012A6 */
0000129A 2F0A move.l -[A7], A2
0000129C 4EBA 45EC jsr [PC + 0x45EC /* 0000588A */]
000012A0 5300 subq.b D0, 1
000012A2 584F addq.w A7, 4
000012A4 6740 beq +0x42 /* 000012E6 */
label000012A6:
000012A6 2F2B 0050 move.l -[A7], [A3 + 0x50]
000012AA 4EAD DD80 jsr [A5 - 0x2280]
000012AE 2448 movea.l A2, A0
000012B0 4AAA 0030 tst.l [A2 + 0x30]
000012B4 584F addq.w A7, 4
000012B6 6724 beq +0x26 /* 000012DC */
000012B8 4AAA 0024 tst.l [A2 + 0x24]
000012BC 671E beq +0x20 /* 000012DC */
000012BE 4AAF 0010 tst.l [A7 + 0x10]
000012C2 6708 beq +0xA /* 000012CC */
000012C4 2F2A 0024 move.l -[A7], [A2 + 0x24]
000012C8 A9D8 syscall TEActivate
000012CA 6010 bra +0x12 /* 000012DC */
label000012CC:
000012CC 2F0A move.l -[A7], A2
000012CE 2F0B move.l -[A7], A3
000012D0 4EBA 0E16 jsr [PC + 0xE16 /* 000020E8 */]
000012D4 2F2A 0024 move.l -[A7], [A2 + 0x24]
000012D8 A9D9 syscall TEDeactivate
000012DA 504F addq.w A7, 8
label000012DC:
000012DC 2F2B 0050 move.l -[A7], [A3 + 0x50]
000012E0 4EAD DD88 jsr [A5 - 0x2278]
000012E4 584F addq.w A7, 4
label000012E6:
000012E6 4CDF 0C00 movem.l A2,A3, [A7]+
000012EA 4E75 rts
000012EC 4E75 rts
000012EE 48E7 1030 movem.l -[A7], D3,A2,A3
000012F2 246F 0010 movea.l A2, [A7 + 0x10]
000012F6 262F 0014 move.l D3, [A7 + 0x14]
000012FA 4AAA 0050 tst.l [A2 + 0x50]
000012FE 6742 beq +0x44 /* 00001342 */
00001300 206A 0050 movea.l A0, [A2 + 0x50]
00001304 2050 movea.l A0, [A0]
00001306 4AA8 0030 tst.l [A0 + 0x30]
0000130A 6736 beq +0x38 /* 00001342 */
0000130C 2F2A 0050 move.l -[A7], [A2 + 0x50]
00001310 4EAD DD80 jsr [A5 - 0x2280]
00001314 2648 movea.l A3, A0
00001316 486D E6D8 pea.l [A5 - 0x1928]
0000131A 2003 move.l D0, D3
0000131C 57C0 seq D0
0000131E 4400 neg.b D0
00001320 4880 ext.w D0
00001322 48C0 ext.l D0
00001324 2F00 move.l -[A7], D0
00001326 2F0B move.l -[A7], A3
00001328 2F0A move.l -[A7], A2
0000132A 4EBA 0A96 jsr [PC + 0xA96 /* 00001DC2 */]
0000132E 2F2A 0050 move.l -[A7], [A2 + 0x50]
00001332 4EAD DD88 jsr [A5 - 0x2278]
00001336 2F03 move.l -[A7], D3
00001338 2F0A move.l -[A7], A2
0000133A 4EBA FF36 jsr [PC - 0xCA /* 00001272 */]
0000133E 4FEF 0020 lea.l A7, [A7 + 0x20]
label00001342:
00001342 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001346 4E75 rts
00001348 2F0A move.l -[A7], A2
0000134A 206F 0008 movea.l A0, [A7 + 0x8]
0000134E 4AA8 0050 tst.l [A0 + 0x50]
00001352 6718 beq +0x1A /* 0000136C */
00001354 2068 0050 movea.l A0, [A0 + 0x50]
00001358 2450 movea.l A2, [A0]
0000135A 4AAA 0030 tst.l [A2 + 0x30]
0000135E 670C beq +0xE /* 0000136C */
00001360 4AAA 0024 tst.l [A2 + 0x24]
00001364 6706 beq +0x8 /* 0000136C */
00001366 2F2A 0024 move.l -[A7], [A2 + 0x24]
0000136A A9DA syscall TEIdle
label0000136C:
0000136C 245F movea.l A2, [A7]+
0000136E 4E75 rts
00001370 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00001374 594F subq.w A7, 4
00001376 266F 0020 movea.l A3, [A7 + 0x20]
0000137A 7C00 moveq.l D6, 0x00
0000137C 7600 moveq.l D3, 0x00
0000137E 4AAB 0050 tst.l [A3 + 0x50]
00001382 6700 0158 beq +0x15A /* 000014DC */
00001386 206B 0050 movea.l A0, [A3 + 0x50]
0000138A 2450 movea.l A2, [A0]
0000138C 4AAA 0024 tst.l [A2 + 0x24]
00001390 672A beq +0x2C /* 000013BC */
00001392 554F subq.w A7, 2
00001394 2F2F 0026 move.l -[A7], [A7 + 0x26]
00001398 206A 0024 movea.l A0, [A2 + 0x24]
0000139C 2050 movea.l A0, [A0]
0000139E 4868 0008 pea.l [A0 + 0x8]
000013A2 A8AD syscall PtInRect
000013A4 101F move.b D0, [A7]+
000013A6 6714 beq +0x16 /* 000013BC */
000013A8 7C01 moveq.l D6, 0x01
000013AA 7602 moveq.l D3, 0x02
000013AC 206A 0024 movea.l A0, [A2 + 0x24]
000013B0 2250 movea.l A1, [A0]
000013B2 7008 moveq.l D0, 0x08
000013B4 2EB1 0804 move.l [A7], [A1 + D0 + 0x4]
000013B8 6000 0122 bra +0x124 /* 000014DC */
label000013BC:
000013BC 4AAA 0004 tst.l [A2 + 0x4]
000013C0 672E beq +0x30 /* 000013F0 */
000013C2 554F subq.w A7, 2
000013C4 2F2F 0026 move.l -[A7], [A7 + 0x26]
000013C8 2F2A 0004 move.l -[A7], [A2 + 0x4]
000013CC A8E8 syscall PtInRgn
000013CE 101F move.b D0, [A7]+
000013D0 671E beq +0x20 /* 000013F0 */
000013D2 3C2D 135E move.w D6, [A5 + 0x135E]
000013D6 48C6 ext.l D6
000013D8 0686 0000 0081 addi.l D6, 0x81
000013DE 7601 moveq.l D3, 0x01
000013E0 206A 0004 movea.l A0, [A2 + 0x4]
000013E4 2250 movea.l A1, [A0]
000013E6 7002 moveq.l D0, 0x02
000013E8 2EB1 0804 move.l [A7], [A1 + D0 + 0x4]
000013EC 6000 00EE bra +0xF0 /* 000014DC */
label000013F0:
000013F0 1F3C 000C move.b -[A7], 0xC
000013F4 2F2B 0048 move.l -[A7], [A3 + 0x48]
000013F8 4EBA 4090 jsr [PC + 0x4090 /* 0000548A */]
000013FC 2448 movea.l A2, A0
000013FE 2008 move.l D0, A0
00001400 5C4F addq.w A7, 6
00001402 6700 00D8 beq +0xDA /* 000014DC */
00001406 594F subq.w A7, 4
00001408 2F0A move.l -[A7], A2
0000140A 4EAD D9AC jsr [A5 - 0x2654]
0000140E 201F move.l D0, [A7]+
00001410 223C 0000 0112 move.l D1, 0x112
00001416 4EAD D8FE jsr [A5 - 0x2702]
0000141A 2A00 move.l D5, D0
0000141C 2652 movea.l A3, [A2]
0000141E 7800 moveq.l D4, 0x00
00001420 6000 00B4 bra +0xB6 /* 000014D6 */
label00001424:
00001424 4AAB 0100 tst.l [A3 + 0x100]
00001428 6700 00A6 beq +0xA8 /* 000014D0 */
0000142C 206B 0100 movea.l A0, [A3 + 0x100]
00001430 2450 movea.l A2, [A0]
00001432 554F subq.w A7, 2
00001434 2F2F 0026 move.l -[A7], [A7 + 0x26]
00001438 486A 0008 pea.l [A2 + 0x8]
0000143C A8AD syscall PtInRect
0000143E 101F move.b D0, [A7]+
00001440 6700 008E beq +0x90 /* 000014D0 */
00001444 7008 moveq.l D0, 0x08
00001446 2EB2 0804 move.l [A7], [A2 + D0 + 0x4]
0000144A 7000 moveq.l D0, 0x00
0000144C 102B 0110 move.b D0, [A3 + 0x110]
00001450 0C80 0000 0007 cmpi.l D0, 0x7
00001456 6200 0084 bhi +0x86 /* 000014DC */
0000145A D040 add.w D0, D0
0000145C 303B 0006 move.w D0, [PC + D0.w + 0x6]
00001460 4EFB 0002 jmp [PC + D0.w + 0x2]
00001464 0010 0020 ori.b [A0], 0x20 /* ' ' */
00001468 0024 0034 ori.b -[A4], 0x34 /* '4' */
0000146C 0044 0054 ori.w D4, 0x54 /* 'T' */
00001470 0064 0068 ori.w -[A4], 0x68 /* 'h' */
00001474 4A2A 0011 tst.b [A2 + 0x11]
00001478 6704 beq +0x6 /* 0000147E */
0000147A 7004 moveq.l D0, 0x04
0000147C 6002 bra +0x4 /* 00001480 */
label0000147E:
0000147E 7003 moveq.l D0, 0x03
label00001480:
00001480 3600 move.w D3, D0
00001482 6058 bra +0x5A /* 000014DC */
00001484 7605 moveq.l D3, 0x05
00001486 6054 bra +0x56 /* 000014DC */
00001488 4A2A 0011 tst.b [A2 + 0x11]
0000148C 6704 beq +0x6 /* 00001492 */
0000148E 7009 moveq.l D0, 0x09
00001490 6002 bra +0x4 /* 00001494 */
label00001492:
00001492 7008 moveq.l D0, 0x08
label00001494:
00001494 3600 move.w D3, D0
00001496 6044 bra +0x46 /* 000014DC */
00001498 4A2A 0011 tst.b [A2 + 0x11]
0000149C 6704 beq +0x6 /* 000014A2 */
0000149E 700B moveq.l D0, 0x0B
000014A0 6002 bra +0x4 /* 000014A4 */
label000014A2:
000014A2 700A moveq.l D0, 0x0A
label000014A4:
000014A4 3600 move.w D3, D0
000014A6 6034 bra +0x36 /* 000014DC */
000014A8 4A2A 0011 tst.b [A2 + 0x11]
000014AC 6704 beq +0x6 /* 000014B2 */
000014AE 7007 moveq.l D0, 0x07
000014B0 6002 bra +0x4 /* 000014B4 */
label000014B2:
000014B2 7006 moveq.l D0, 0x06
label000014B4:
000014B4 3600 move.w D3, D0
000014B6 6024 bra +0x26 /* 000014DC */
000014B8 4A2A 0011 tst.b [A2 + 0x11]
000014BC 6704 beq +0x6 /* 000014C2 */
000014BE 700D moveq.l D0, 0x0D
000014C0 6002 bra +0x4 /* 000014C4 */
label000014C2:
000014C2 700C moveq.l D0, 0x0C
label000014C4:
000014C4 3600 move.w D3, D0
000014C6 6014 bra +0x16 /* 000014DC */
000014C8 760E moveq.l D3, 0x0E
000014CA 6010 bra +0x12 /* 000014DC */
000014CC 760F moveq.l D3, 0x0F
000014CE 600C bra +0xE /* 000014DC */
label000014D0:
000014D0 5284 addq.l D4, 1
000014D2 47EB 0112 lea.l A3, [A3 + 0x112]
label000014D6:
000014D6 B885 cmp.l D4, D5
000014D8 6D00 FF4A blt -0xB4 /* 00001424 */
label000014DC:
000014DC 3F06 move.w -[A7], D6
000014DE 4EAD DDA0 jsr [A5 - 0x2260]
000014E2 4857 pea.l [A7]
000014E4 A870 syscall LocalToGlobal
000014E6 3F03 move.w -[A7], D3
000014E8 2F2F 0002 move.l -[A7], [A7 + 0x2]
000014EC 4EAD DFE8 jsr [A5 - 0x2018]
000014F0 4FEF 000A lea.l A7, [A7 + 0xA]
000014F4 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
000014F8 4E75 rts
fn000014FA:
000014FA 48E7 1020 movem.l -[A7], D3,A2
000014FE 514F subq.w A7, 8
00001500 246F 0014 movea.l A2, [A7 + 0x14]
00001504 4AAA 0050 tst.l [A2 + 0x50]
00001508 673C beq +0x3E /* 00001546 */
0000150A 206A 0050 movea.l A0, [A2 + 0x50]
0000150E 2050 movea.l A0, [A0]
00001510 4AA8 0030 tst.l [A0 + 0x30]
00001514 6730 beq +0x32 /* 00001546 */
00001516 0C2F 0001 0018 cmpi.b [A7 + 0x18], 0x1
0000151C 6628 bne +0x2A /* 00001546 */
0000151E 206A 0048 movea.l A0, [A2 + 0x48]
00001522 3628 0016 move.w D3, [A0 + 0x16]
00001526 3003 move.w D0, D3
00001528 48C0 ext.l D0
0000152A 5380 subq.l D0, 1
0000152C 3F40 0002 move.w [A7 + 0x2], D0
00001530 3F43 0006 move.w [A7 + 0x6], D3
00001534 206A 0048 movea.l A0, [A2 + 0x48]
00001538 3EA8 0010 move.w [A7], [A0 + 0x10]
0000153C 3F6A 0044 0004 move.w [A7 + 0x4], [A2 + 0x44]
00001542 4857 pea.l [A7]
00001544 A928 syscall InvalRect
label00001546:
00001546 504F addq.w A7, 8
00001548 4CDF 0408 movem.l D3,A2, [A7]+
0000154C 4E75 rts
0000154E 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00001552 514F subq.w A7, 8
00001554 246F 001C movea.l A2, [A7 + 0x1C]
00001558 162F 0020 move.b D3, [A7 + 0x20]
0000155C 4AAA 0050 tst.l [A2 + 0x50]
00001560 6706 beq +0x8 /* 00001568 */
00001562 0C03 0002 cmpi.b D3, 0x2
00001566 6608 bne +0xA /* 00001570 */
label00001568:
00001568 504F addq.w A7, 8
0000156A 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
0000156E 4E75 rts
label00001570:
00001570 426A 0040 clr.w [A2 + 0x40]
00001574 426A 0042 clr.w [A2 + 0x42]
00001578 206A 0048 movea.l A0, [A2 + 0x48]
0000157C 3568 0016 0046 move.w [A2 + 0x46], [A0 + 0x16]
00001582 206A 0050 movea.l A0, [A2 + 0x50]
00001586 2050 movea.l A0, [A0]
00001588 4AA8 0030 tst.l [A0 + 0x30]
0000158C 660E bne +0x10 /* 0000159C */
0000158E 356A 0040 0044 move.w [A2 + 0x44], [A2 + 0x40]
00001594 504F addq.w A7, 8
00001596 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
0000159A 4E75 rts
label0000159C:
0000159C 2F2A 0050 move.l -[A7], [A2 + 0x50]
000015A0 4EAD DD80 jsr [A5 - 0x2280]
000015A4 2648 movea.l A3, A0
000015A6 302D 135E move.w D0, [A5 + 0x135E]
000015AA 48C0 ext.l D0
000015AC 0680 0000 0081 addi.l D0, 0x81
000015B2 3F00 move.w -[A7], D0
000015B4 A9BA syscall GetString
000015B6 205F movea.l A0, [A7]+
000015B8 2848 movea.l A4, A0
000015BA 200C move.l D0, A4
000015BC 671C beq +0x1E /* 000015DA */
000015BE 2F0C move.l -[A7], A4
000015C0 4EAD DD80 jsr [A5 - 0x2280]
000015C4 584F addq.w A7, 4
000015C6 2F08 move.l -[A7], A0
000015C8 2F0B move.l -[A7], A3
000015CA 2F0A move.l -[A7], A2
000015CC 4EBA 183E jsr [PC + 0x183E /* 00002E0C */]
000015D0 2F0C move.l -[A7], A4
000015D2 4EAD DD88 jsr [A5 - 0x2278]
000015D6 4FEF 0010 lea.l A7, [A7 + 0x10]
label000015DA:
000015DA 1F03 move.b -[A7], D3
000015DC 2F0A move.l -[A7], A2
000015DE 4EBA FF1A jsr [PC - 0xE6 /* 000014FA */]
000015E2 2F0B move.l -[A7], A3
000015E4 2F0A move.l -[A7], A2
000015E6 4EBA 1434 jsr [PC + 0x1434 /* 00002A1C */]
000015EA 200C move.l D0, A4
000015EC 4FEF 000E lea.l A7, [A7 + 0xE]
000015F0 671E beq +0x20 /* 00001610 */
000015F2 4AAB 0024 tst.l [A3 + 0x24]
000015F6 6718 beq +0x1A /* 00001610 */
000015F8 4857 pea.l [A7]
000015FA 3F3C 0001 move.w -[A7], 0x1
000015FE 2F0B move.l -[A7], A3
00001600 2F0A move.l -[A7], A2
00001602 4EBA 17A0 jsr [PC + 0x17A0 /* 00002DA4 */]
00001606 486F 000E pea.l [A7 + 0xE]
0000160A A928 syscall InvalRect
0000160C 4FEF 000E lea.l A7, [A7 + 0xE]
label00001610:
00001610 2F2A 0050 move.l -[A7], [A2 + 0x50]
00001614 4EAD DD88 jsr [A5 - 0x2278]
00001618 4FEF 000C lea.l A7, [A7 + 0xC]
0000161C 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00001620 4E75 rts
00001622 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00001626 4FEF FFF0 lea.l A7, [A7 - 0x10]
0000162A 246F 002C movea.l A2, [A7 + 0x2C]
0000162E 1A2F 0030 move.b D5, [A7 + 0x30]
00001632 7601 moveq.l D3, 0x01
00001634 4AAD 8C2C tst.l [A5 - 0x73D4]
00001638 660C bne +0xE /* 00001646 */
0000163A 7000 moveq.l D0, 0x00
0000163C 4FEF 0010 lea.l A7, [A7 + 0x10]
00001640 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00001644 4E75 rts
label00001646:
00001646 4AAA 0050 tst.l [A2 + 0x50]
0000164A 660C bne +0xE /* 00001658 */
0000164C 7000 moveq.l D0, 0x00
0000164E 4FEF 0010 lea.l A7, [A7 + 0x10]
00001652 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00001656 4E75 rts
label00001658:
00001658 4A6D B48A tst.w [A5 - 0x4B76]
0000165C 670E beq +0x10 /* 0000166C */
0000165E 2F2A 0048 move.l -[A7], [A2 + 0x48]
00001662 4EAD F670 jsr [A5 - 0x990]
00001666 2008 move.l D0, A0
00001668 584F addq.w A7, 4
0000166A 6604 bne +0x6 /* 00001670 */
label0000166C:
0000166C 7000 moveq.l D0, 0x00
0000166E 6002 bra +0x4 /* 00001672 */
label00001670:
00001670 7001 moveq.l D0, 0x01
label00001672:
00001672 2800 move.l D4, D0
00001674 206A 0050 movea.l A0, [A2 + 0x50]
00001678 2650 movea.l A3, [A0]
0000167A 4A84 tst.l D4
0000167C 6706 beq +0x8 /* 00001684 */
0000167E 0C05 0009 cmpi.b D5, 0x9 /* '\t' */
00001682 671E beq +0x20 /* 000016A2 */
label00001684:
00001684 4AAB 0024 tst.l [A3 + 0x24]
00001688 670C beq +0xE /* 00001696 */
0000168A 206B 0024 movea.l A0, [A3 + 0x24]
0000168E 2050 movea.l A0, [A0]
00001690 4A68 0024 tst.w [A0 + 0x24]
00001694 660C bne +0xE /* 000016A2 */
label00001696:
00001696 7000 moveq.l D0, 0x00
00001698 4FEF 0010 lea.l A7, [A7 + 0x10]
0000169C 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000016A0 4E75 rts
label000016A2:
000016A2 2F2A 0050 move.l -[A7], [A2 + 0x50]
000016A6 4EAD DD80 jsr [A5 - 0x2280]
000016AA 2648 movea.l A3, A0
000016AC 1005 move.b D0, D5
000016AE 4880 ext.w D0
000016B0 48C0 ext.l D0
000016B2 584F addq.w A7, 4
000016B4 4EAD D916 jsr [A5 - 0x26EA]
000016B8 009E 0000 0001 ori.l [A6]+, 0x1
000016BE 0000 001F ori.b D0, 0x1F
000016C2 000B 0000 ori.b A3, 0x0
000016C6 0001 00EC ori.b D1, 0xEC
000016CA 0000 0003 ori.b D0, 0x3
000016CE 00D8 ori.? [A0]+, 0xFFFFFFFFFFFFFFFF
000016D0 0000 0004 ori.b D0, 0x4
000016D4 00E0 ori.? -[A0], 0xFFFFFFFFFFFFFFFF
000016D6 0000 0009 ori.b D0, 0x9 /* '\t' */
000016DA 00DE ori.? [A6]+, 0xFFFFFFFFFFFFFFFF
000016DC 0000 000B ori.b D0, 0xB
000016E0 00D4 ori.? [A4], 0xFFFFFFFFFFFFFFFF
000016E2 0000 000C ori.b D0, 0xC
000016E6 00CE ori.? A6, 0xFFFFFFFFFFFFFFFF
000016E8 0000 000D ori.b D0, 0xD /* '\r' */
000016EC 00BA 0000 001B 001A ori.l [PC + 0x1A /* 00001708, value 0x1F00AA */], 0x1B
000016F4 0000 001C ori.b D0, 0x1C
000016F8 0022 0000 ori.b -[A2], 0x0
000016FC 001D 001C ori.b [A5]+, 0x1C
00001700 0000 001E ori.b D0, 0x1E
00001704 00B0 0000 001F 00AA ori.l [A0 + D0.w - 0x86], 0x1F
0000170C 2F0B move.l -[A7], A3
0000170E 2F0A move.l -[A7], A2
00001710 4EBA 09D6 jsr [PC + 0x9D6 /* 000020E8 */]
00001714 504F addq.w A7, 8
00001716 6000 00AE bra +0xB0 /* 000017C6 */
0000171A 4227 clr.b -[A7]
0000171C 2F2A 0048 move.l -[A7], [A2 + 0x48]
00001720 4EAD E9C8 jsr [A5 - 0x1638]
00001724 2848 movea.l A4, A0
00001726 4AAC 0028 tst.l [A4 + 0x28]
0000172A 5C4F addq.w A7, 6
0000172C 670A beq +0xC /* 00001738 */
0000172E 554F subq.w A7, 2
00001730 2F0C move.l -[A7], A4
00001732 A8AE syscall EmptyRect
00001734 101F move.b D0, [A7]+
00001736 6704 beq +0x6 /* 0000173C */
label00001738:
00001738 7000 moveq.l D0, 0x00
0000173A 6002 bra +0x4 /* 0000173E */
label0000173C:
0000173C 7001 moveq.l D0, 0x01
label0000173E:
0000173E 2800 move.l D4, D0
00001740 1F3C 0001 move.b -[A7], 0x1
00001744 2F2A 0048 move.l -[A7], [A2 + 0x48]
00001748 4EAD E9C8 jsr [A5 - 0x1638]
0000174C 4A84 tst.l D4
0000174E 5C4F addq.w A7, 6
00001750 6704 beq +0x6 /* 00001756 */
00001752 7600 moveq.l D3, 0x00
00001754 6070 bra +0x72 /* 000017C6 */
label00001756:
00001756 4878 0001 push.l 0x1
0000175A 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000175E 4EAD EA10 jsr [A5 - 0x15F0]
00001762 1005 move.b D0, D5
00001764 4880 ext.w D0
00001766 3F00 move.w -[A7], D0
00001768 2F2B 0024 move.l -[A7], [A3 + 0x24]
0000176C A9DC syscall TEKey
0000176E 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00001772 486F 000A pea.l [A7 + 0xA]
00001776 A971 syscall EventAvail
00001778 101F move.b D0, [A7]+
0000177A 5C4F addq.w A7, 6
0000177C 671C beq +0x1E /* 0000179A */
0000177E 282F 0002 move.l D4, [A7 + 0x2]
00001782 0284 0000 00FF andi.l D4, 0xFF
00001788 0C04 001B cmpi.b D4, 0x1B
0000178C 670C beq +0xE /* 0000179A */
0000178E 0C04 000D cmpi.b D4, 0xD /* '\r' */
00001792 6706 beq +0x8 /* 0000179A */
00001794 0C04 0003 cmpi.b D4, 0x3
00001798 662C bne +0x2E /* 000017C6 */
label0000179A:
0000179A 2F0B move.l -[A7], A3
0000179C 2F0A move.l -[A7], A2
0000179E 4EBA 13BA jsr [PC + 0x13BA /* 00002B5A */]
000017A2 504F addq.w A7, 8
000017A4 6020 bra +0x22 /* 000017C6 */
000017A6 2F2B 0024 move.l -[A7], [A3 + 0x24]
000017AA 4EBA 14F0 jsr [PC + 0x14F0 /* 00002C9C */]
000017AE 4A80 tst.l D0
000017B0 584F addq.w A7, 4
000017B2 6612 bne +0x14 /* 000017C6 */
000017B4 7600 moveq.l D3, 0x00
000017B6 600E bra +0x10 /* 000017C6 */
000017B8 4A84 tst.l D4
000017BA 670A beq +0xC /* 000017C6 */
000017BC 2F2A 0048 move.l -[A7], [A2 + 0x48]
000017C0 4EAD EA30 jsr [A5 - 0x15D0]
000017C4 584F addq.w A7, 4
label000017C6:
000017C6 2F2A 0050 move.l -[A7], [A2 + 0x50]
000017CA 4EAD DD88 jsr [A5 - 0x2278]
000017CE 2003 move.l D0, D3
000017D0 4FEF 0014 lea.l A7, [A7 + 0x14]
000017D4 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000017D8 4E75 rts
000017DA 7000 moveq.l D0, 0x00
000017DC 4E75 rts
000017DE 48E7 0038 movem.l -[A7], A2,A3,A4
000017E2 286F 0010 movea.l A4, [A7 + 0x10]
000017E6 246F 0014 movea.l A2, [A7 + 0x14]
000017EA 206C 0050 movea.l A0, [A4 + 0x50]
000017EE 2650 movea.l A3, [A0]
000017F0 4AAB 0024 tst.l [A3 + 0x24]
000017F4 671E beq +0x20 /* 00001814 */
000017F6 4AAD 8C2C tst.l [A5 - 0x73D4]
000017FA 6604 bne +0x6 /* 00001800 */
000017FC 7000 moveq.l D0, 0x00
000017FE 600A bra +0xC /* 0000180A */
label00001800:
00001800 302B 002C move.w D0, [A3 + 0x2C]
00001804 48C0 ext.l D0
00001806 724C moveq.l D1, 0x4C
00001808 D081 add.l D0, D1
label0000180A:
0000180A 7227 moveq.l D1, 0x27
0000180C D081 add.l D0, D1
0000180E 3540 0002 move.w [A2 + 0x2], D0
00001812 6006 bra +0x8 /* 0000181A */
label00001814:
00001814 357C 0096 0002 move.w [A2 + 0x2], 0x96
label0000181A:
0000181A 34AC 0044 move.w [A2], [A4 + 0x44]
0000181E 357C 7FFF 0004 move.w [A2 + 0x4], 0x7FFF
00001824 357C 7FFF 0006 move.w [A2 + 0x6], 0x7FFF
0000182A 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000182E 4E75 rts
fn00001830:
00001830 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
00001834 2C6F 0024 movea.l A6, [A7 + 0x24]
00001838 286F 0028 movea.l A4, [A7 + 0x28]
0000183C 2F0C move.l -[A7], A4
0000183E 2F0E move.l -[A7], A6
00001840 4EBA 00EE jsr [PC + 0xEE /* 00001930 */]
00001844 3800 move.w D4, D0
00001846 504F addq.w A7, 8
00001848 6708 beq +0xA /* 00001852 */
0000184A 3004 move.w D0, D4
0000184C 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
00001850 4E75 rts
label00001852:
00001852 1F3C 000C move.b -[A7], 0xC
00001856 2F2E 0048 move.l -[A7], [A6 + 0x48]
0000185A 4EBA 3C2E jsr [PC + 0x3C2E /* 0000548A */]
0000185E 2C08 move.l D6, A0
00001860 2008 move.l D0, A0
00001862 5C4F addq.w A7, 6
00001864 6700 00B4 beq +0xB6 /* 0000191A */
00001868 594F subq.w A7, 4
0000186A 2F06 move.l -[A7], D6
0000186C 4EAD D9AC jsr [A5 - 0x2654]
00001870 201F move.l D0, [A7]+
00001872 223C 0000 0112 move.l D1, 0x112
00001878 4EAD D8FE jsr [A5 - 0x2702]
0000187C 2A00 move.l D5, D0
0000187E 2F06 move.l -[A7], D6
00001880 4EAD DD80 jsr [A5 - 0x2280]
00001884 2448 movea.l A2, A0
00001886 7600 moveq.l D3, 0x00
00001888 584F addq.w A7, 4
0000188A 6000 0080 bra +0x82 /* 0000190C */
label0000188E:
0000188E 4A2A 0110 tst.b [A2 + 0x110]
00001892 6608 bne +0xA /* 0000189C */
00001894 264C movea.l A3, A4
00001896 508B addq.l A3, 8
00001898 508B addq.l A3, 8
0000189A 6042 bra +0x44 /* 000018DE */
label0000189C:
0000189C 0C2A 0001 0110 cmpi.b [A2 + 0x110], 0x1
000018A2 6608 bne +0xA /* 000018AC */
000018A4 264C movea.l A3, A4
000018A6 47EB 0014 lea.l A3, [A3 + 0x14]
000018AA 6032 bra +0x34 /* 000018DE */
label000018AC:
000018AC 0C2A 0004 0110 cmpi.b [A2 + 0x110], 0x4
000018B2 6608 bne +0xA /* 000018BC */
000018B4 264C movea.l A3, A4
000018B6 47EB 0020 lea.l A3, [A3 + 0x20]
000018BA 6022 bra +0x24 /* 000018DE */
label000018BC:
000018BC 0C2A 0002 0110 cmpi.b [A2 + 0x110], 0x2
000018C2 6608 bne +0xA /* 000018CC */
000018C4 264C movea.l A3, A4
000018C6 47EB 0018 lea.l A3, [A3 + 0x18]
000018CA 6012 bra +0x14 /* 000018DE */
label000018CC:
000018CC 0C2A 0003 0110 cmpi.b [A2 + 0x110], 0x3
000018D2 6608 bne +0xA /* 000018DC */
000018D4 264C movea.l A3, A4
000018D6 47EB 001C lea.l A3, [A3 + 0x1C]
000018DA 6002 bra +0x4 /* 000018DE */
label000018DC:
000018DC 97CB sub.l A3, A3
label000018DE:
000018DE 3F3C FFFF move.w -[A7], 0xFFFF
000018E2 2F0B move.l -[A7], A3
000018E4 1F2A 0110 move.b -[A7], [A2 + 0x110]
000018E8 2F2A 0104 move.l -[A7], [A2 + 0x104]
000018EC 42A7 clr.l -[A7]
000018EE 2F0A move.l -[A7], A2
000018F0 2F0A move.l -[A7], A2
000018F2 2F0C move.l -[A7], A4
000018F4 2F0E move.l -[A7], A6
000018F6 2F2E 0048 move.l -[A7], [A6 + 0x48]
000018FA 4EBA 0A06 jsr [PC + 0xA06 /* 00002302 */]
000018FE 3800 move.w D4, D0
00001900 4FEF 0024 lea.l A7, [A7 + 0x24]
00001904 660C bne +0xE /* 00001912 */
00001906 5283 addq.l D3, 1
00001908 45EA 0112 lea.l A2, [A2 + 0x112]
label0000190C:
0000190C B685 cmp.l D3, D5
0000190E 6D00 FF7E blt -0x80 /* 0000188E */
label00001912:
00001912 2F06 move.l -[A7], D6
00001914 4EAD DD88 jsr [A5 - 0x2278]
00001918 584F addq.w A7, 4
label0000191A:
0000191A 4A44 tst.w D4
0000191C 660A bne +0xC /* 00001928 */
0000191E 2F0C move.l -[A7], A4
00001920 2F0E move.l -[A7], A6
00001922 4EBA 10F8 jsr [PC + 0x10F8 /* 00002A1C */]
00001926 504F addq.w A7, 8
label00001928:
00001928 3004 move.w D0, D4
0000192A 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
0000192E 4E75 rts
fn00001930:
00001930 48E7 1820 movem.l -[A7], D3,D4,A2
00001934 4FEF FEF8 lea.l A7, [A7 - 0x108]
00001938 246F 011C movea.l A2, [A7 + 0x11C]
0000193C 7600 moveq.l D3, 0x00
0000193E 4AAD 8C2C tst.l [A5 - 0x73D4]
00001942 660C bne +0xE /* 00001950 */
00001944 7000 moveq.l D0, 0x00
00001946 4FEF 0108 lea.l A7, [A7 + 0x108]
0000194A 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000194E 4E75 rts
label00001950:
00001950 4EAD DD60 jsr [A5 - 0x22A0]
00001954 4267 clr.w -[A7]
00001956 A887 syscall TextFont
00001958 3F3C 000C move.w -[A7], 0xC
0000195C A88A syscall TextSize
0000195E 4267 clr.w -[A7]
00001960 A888 syscall TextFace
00001962 42A7 clr.l -[A7]
00001964 4EAD DD90 jsr [A5 - 0x2270]
00001968 3800 move.w D4, D0
0000196A 302D 135E move.w D0, [A5 + 0x135E]
0000196E 48C0 ext.l D0
00001970 0680 0000 0081 addi.l D0, 0x81
00001976 3F00 move.w -[A7], D0
00001978 A9BA syscall GetString
0000197A 205F movea.l A0, [A7]+
0000197C 2008 move.l D0, A0
0000197E 6706 beq +0x8 /* 00001986 */
00001980 426A 002C clr.w [A2 + 0x2C]
00001984 6026 bra +0x28 /* 000019AC */
label00001986:
00001986 4857 pea.l [A7]
00001988 302D 135E move.w D0, [A5 + 0x135E]
0000198C 48C0 ext.l D0
0000198E 0680 0000 0081 addi.l D0, 0x81
00001994 3F00 move.w -[A7], D0
00001996 3F3C 0004 move.w -[A7], 0x4
0000199A 4EAD DA4E jsr [A5 - 0x25B2]
0000199E 554F subq.w A7, 2
000019A0 486F 0002 pea.l [A7 + 0x2]
000019A4 A88C syscall StringWidth
000019A6 301F move.w D0, [A7]+
000019A8 3540 002C move.w [A2 + 0x2C], D0
label000019AC:
000019AC 486F 0100 pea.l [A7 + 0x100]
000019B0 42A7 clr.l -[A7]
000019B2 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
000019B6 3F04 move.w -[A7], D4
000019B8 A8A7 syscall SetRect
000019BA 594F subq.w A7, 4
000019BC 486F 0104 pea.l [A7 + 0x104]
000019C0 486F 0108 pea.l [A7 + 0x108]
000019C4 A9D2 syscall TENew
000019C6 205F movea.l A0, [A7]+
000019C8 2548 0024 move.l [A2 + 0x24], A0
000019CC 2008 move.l D0, A0
000019CE 6720 beq +0x22 /* 000019F0 */
000019D0 4AAD 132A tst.l [A5 + 0x132A /* export_609 */]
000019D4 670E beq +0x10 /* 000019E4 */
000019D6 7694 moveq.l D3, 0xFFFFFF94
000019D8 2F2A 0024 move.l -[A7], [A2 + 0x24]
000019DC A9CD syscall TEDispose
000019DE 42AA 0024 clr.l [A2 + 0x24]
000019E2 600E bra +0x10 /* 000019F2 */
label000019E4:
000019E4 1F3C 0001 move.b -[A7], 0x1
000019E8 2F2A 0024 move.l -[A7], [A2 + 0x24]
000019EC A813 syscall TEAutoView
000019EE 6002 bra +0x4 /* 000019F2 */
label000019F0:
000019F0 7694 moveq.l D3, 0xFFFFFF94
label000019F2:
000019F2 4EAD DD68 jsr [A5 - 0x2298]
000019F6 3003 move.w D0, D3
000019F8 4FEF 0108 lea.l A7, [A7 + 0x108]
000019FC 4CDF 0418 movem.l D3,D4,A2, [A7]+
00001A00 4E75 rts
00001A02 594F subq.w A7, 4
00001A04 2EAF 0008 move.l [A7], [A7 + 0x8]
00001A08 302F 0012 move.w D0, [A7 + 0x12]
00001A0C 48C0 ext.l D0
00001A0E 7202 moveq.l D1, 0x02
00001A10 B081 cmp.l D0, D1
00001A12 5EC0 sgt D0
00001A14 4400 neg.b D0
00001A16 4880 ext.w D0
00001A18 48C0 ext.l D0
00001A1A 2F00 move.l -[A7], D0
00001A1C 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001A20 4EBA 000E jsr [PC + 0xE /* 00001A30 */]
00001A24 4FEF 000C lea.l A7, [A7 + 0xC]
00001A28 205F movea.l A0, [A7]+
00001A2A 4FEF 000C lea.l A7, [A7 + 0xC]
00001A2E 4ED0 jmp [A0]
fn00001A30:
00001A30 4FEF FFF2 lea.l A7, [A7 - 0xE]
00001A34 486F 0006 pea.l [A7 + 0x6]
00001A38 2F2F 0016 move.l -[A7], [A7 + 0x16]
00001A3C 4EBA 0116 jsr [PC + 0x116 /* 00001B54 */]
00001A40 4EAD DD70 jsr [A5 - 0x2290]
00001A44 A89E syscall PenNormal
00001A46 4878 0021 push.l 0x21 /* '!' */
00001A4A A862 syscall ForeColor
00001A4C 4878 001E push.l 0x1E
00001A50 A863 syscall BackColor
00001A52 3F2F 0010 move.w -[A7], [A7 + 0x10]
00001A56 302F 0014 move.w D0, [A7 + 0x14]
00001A5A 48C0 ext.l D0
00001A5C 5380 subq.l D0, 1
00001A5E 3F00 move.w -[A7], D0
00001A60 A893 syscall MoveTo
00001A62 302F 0014 move.w D0, [A7 + 0x14]
00001A66 48C0 ext.l D0
00001A68 5380 subq.l D0, 1
00001A6A 3F00 move.w -[A7], D0
00001A6C 302F 0014 move.w D0, [A7 + 0x14]
00001A70 48C0 ext.l D0
00001A72 5380 subq.l D0, 1
00001A74 3F00 move.w -[A7], D0
00001A76 A891 syscall LineTo
00001A78 4AAF 001E tst.l [A7 + 0x1E]
00001A7C 504F addq.w A7, 8
00001A7E 6614 bne +0x16 /* 00001A94 */
00001A80 536F 000A subq.w [A7 + 0xA], 1
00001A84 486F 0006 pea.l [A7 + 0x6]
00001A88 A8A3 syscall EraseRect
00001A8A 4EAD DD78 jsr [A5 - 0x2288]
00001A8E 4FEF 000E lea.l A7, [A7 + 0xE]
00001A92 4E75 rts
label00001A94:
00001A94 486D 15F0 pea.l [A5 + 0x15F0]
00001A98 A89D syscall PenPat
00001A9A 3F2F 0008 move.w -[A7], [A7 + 0x8]
00001A9E 302F 000C move.w D0, [A7 + 0xC]
00001AA2 48C0 ext.l D0
00001AA4 5580 subq.l D0, 2
00001AA6 3F00 move.w -[A7], D0
00001AA8 A893 syscall MoveTo
00001AAA 3F2F 0008 move.w -[A7], [A7 + 0x8]
00001AAE 3F2F 0008 move.w -[A7], [A7 + 0x8]
00001AB2 A891 syscall LineTo
00001AB4 302F 000C move.w D0, [A7 + 0xC]
00001AB8 48C0 ext.l D0
00001ABA 5580 subq.l D0, 2
00001ABC 3F00 move.w -[A7], D0
00001ABE 3F2F 0008 move.w -[A7], [A7 + 0x8]
00001AC2 A891 syscall LineTo
00001AC4 486D 15E8 pea.l [A5 + 0x15E8]
00001AC8 A89D syscall PenPat
00001ACA 3F7C 7778 0004 move.w [A7 + 0x4], 0x7778 /* 'wx' */
00001AD0 3F7C 7778 0002 move.w [A7 + 0x2], 0x7778 /* 'wx' */
00001AD6 3EBC 7778 move.w [A7], 0x7778 /* 'wx' */
00001ADA 4857 pea.l [A7]
00001ADC AA14 syscall RGBForeColor
00001ADE 302F 0008 move.w D0, [A7 + 0x8]
00001AE2 48C0 ext.l D0
00001AE4 5280 addq.l D0, 1
00001AE6 3F00 move.w -[A7], D0
00001AE8 302F 000C move.w D0, [A7 + 0xC]
00001AEC 48C0 ext.l D0
00001AEE 5580 subq.l D0, 2
00001AF0 3F00 move.w -[A7], D0
00001AF2 A893 syscall MoveTo
00001AF4 302F 000C move.w D0, [A7 + 0xC]
00001AF8 48C0 ext.l D0
00001AFA 5380 subq.l D0, 1
00001AFC 3F00 move.w -[A7], D0
00001AFE 302F 000C move.w D0, [A7 + 0xC]
00001B02 48C0 ext.l D0
00001B04 5580 subq.l D0, 2
00001B06 3F00 move.w -[A7], D0
00001B08 A891 syscall LineTo
00001B0A 302F 000C move.w D0, [A7 + 0xC]
00001B0E 48C0 ext.l D0
00001B10 5380 subq.l D0, 1
00001B12 3F00 move.w -[A7], D0
00001B14 302F 0008 move.w D0, [A7 + 0x8]
00001B18 48C0 ext.l D0
00001B1A 5280 addq.l D0, 1
00001B1C 3F00 move.w -[A7], D0
00001B1E A891 syscall LineTo
00001B20 526F 0008 addq.w [A7 + 0x8], 1
00001B24 526F 0006 addq.w [A7 + 0x6], 1
00001B28 536F 000C subq.w [A7 + 0xC], 1
00001B2C 556F 000A subq.w [A7 + 0xA], 2
00001B30 3F7C DDDE 0004 move.w [A7 + 0x4], 0xDDDE
00001B36 3F7C DDDE 0002 move.w [A7 + 0x2], 0xDDDE
00001B3C 3EBC DDDE move.w [A7], 0xDDDE
00001B40 4857 pea.l [A7]
00001B42 AA14 syscall RGBForeColor
00001B44 486F 0006 pea.l [A7 + 0x6]
00001B48 A8A2 syscall PaintRect
00001B4A 4EAD DD78 jsr [A5 - 0x2288]
00001B4E 4FEF 000E lea.l A7, [A7 + 0xE]
00001B52 4E75 rts
fn00001B54:
00001B54 206F 0004 movea.l A0, [A7 + 0x4]
00001B58 226F 0008 movea.l A1, [A7 + 0x8]
00001B5C 22A8 0040 move.l [A1], [A0 + 0x40]
00001B60 2368 0044 0004 move.l [A1 + 0x4], [A0 + 0x44]
00001B66 4E75 rts
fn00001B68:
00001B68 2F0A move.l -[A7], A2
00001B6A 514F subq.w A7, 8
00001B6C 206F 0010 movea.l A0, [A7 + 0x10]
00001B70 2050 movea.l A0, [A0]
00001B72 2468 0024 movea.l A2, [A0 + 0x24]
00001B76 200A move.l D0, A2
00001B78 672C beq +0x2E /* 00001BA6 */
00001B7A 2052 movea.l A0, [A2]
00001B7C 2EA8 0008 move.l [A7], [A0 + 0x8]
00001B80 2F68 000C 0004 move.l [A7 + 0x4], [A0 + 0xC]
00001B86 4857 pea.l [A7]
00001B88 2F3C FFFE FFFE move.l -[A7], 0xFFFEFFFE
00001B8E A8A9 syscall InsetRect
00001B90 4857 pea.l [A7]
00001B92 A8A3 syscall EraseRect
00001B94 4857 pea.l [A7]
00001B96 4878 FFFF push.l 0xFFFF
00001B9A A8A9 syscall InsetRect
00001B9C 4857 pea.l [A7]
00001B9E A8A1 syscall FrameRect
00001BA0 4857 pea.l [A7]
00001BA2 2F0A move.l -[A7], A2
00001BA4 A9D3 syscall TEUpdate
label00001BA6:
00001BA6 504F addq.w A7, 8
00001BA8 245F movea.l A2, [A7]+
00001BAA 4E75 rts
fn00001BAC:
00001BAC 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00001BB0 4FEF FEF0 lea.l A7, [A7 - 0x110]
00001BB4 286F 012C movea.l A4, [A7 + 0x12C]
00001BB8 246F 0130 movea.l A2, [A7 + 0x130]
00001BBC 4AAC 0024 tst.l [A4 + 0x24]
00001BC0 6706 beq +0x8 /* 00001BC8 */
00001BC2 4AAA 0008 tst.l [A2 + 0x8]
00001BC6 660A bne +0xC /* 00001BD2 */
label00001BC8:
00001BC8 4FEF 0110 lea.l A7, [A7 + 0x110]
00001BCC 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00001BD0 4E75 rts
label00001BD2:
00001BD2 266C 0024 movea.l A3, [A4 + 0x24]
00001BD6 2053 movea.l A0, [A3]
00001BD8 3628 003C move.w D3, [A0 + 0x3C]
00001BDC 594F subq.w A7, 4
00001BDE 3F03 move.w -[A7], D3
00001BE0 2F0B move.l -[A7], A3
00001BE2 3F3C 0008 move.w -[A7], 0x8
00001BE6 A83D syscall TEDispatch
00001BE8 2E9F move.l [A7], [A7]+
00001BEA 2F57 000C move.l [A7 + 0xC], [A7]
00001BEE 4EAD DD60 jsr [A5 - 0x22A0]
00001BF2 4267 clr.w -[A7]
00001BF4 A887 syscall TextFont
00001BF6 3F3C 000C move.w -[A7], 0xC
00001BFA A88A syscall TextSize
00001BFC 4267 clr.w -[A7]
00001BFE A888 syscall TextFace
00001C00 206C 0024 movea.l A0, [A4 + 0x24]
00001C04 2650 movea.l A3, [A0]
00001C06 2F6B 0008 0004 move.l [A7 + 0x4], [A3 + 0x8]
00001C0C 2F6B 000C 0008 move.l [A7 + 0x8], [A3 + 0xC]
00001C12 3F2F 000E move.w -[A7], [A7 + 0xE]
00001C16 302B 0018 move.w D0, [A3 + 0x18]
00001C1A 48C0 ext.l D0
00001C1C 322F 000E move.w D1, [A7 + 0xE]
00001C20 48C1 ext.l D1
00001C22 9280 sub.l D1, D0
00001C24 302B 001A move.w D0, [A3 + 0x1A]
00001C28 48C0 ext.l D0
00001C2A D081 add.l D0, D1
00001C2C 3F00 move.w -[A7], D0
00001C2E A893 syscall MoveTo
00001C30 486F 0004 pea.l [A7 + 0x4]
00001C34 4EAD DD50 jsr [A5 - 0x22B0]
00001C38 282A 001C move.l D4, [A2 + 0x1C]
00001C3C 206A 0008 movea.l A0, [A2 + 0x8]
00001C40 A029 syscall HLock
00001C42 3003 move.w D0, D3
00001C44 48C0 ext.l D0
00001C46 2204 move.l D1, D4
00001C48 9280 sub.l D1, D0
00001C4A 2F01 move.l -[A7], D1
00001C4C 206A 0008 movea.l A0, [A2 + 0x8]
00001C50 2250 movea.l A1, [A0]
00001C52 4871 3000 pea.l [A1 + D3.w]
00001C56 4EAD DE38 jsr [A5 - 0x21C8]
00001C5A 4AAA 0024 tst.l [A2 + 0x24]
00001C5E 4FEF 000C lea.l A7, [A7 + 0xC]
00001C62 6720 beq +0x22 /* 00001C84 */
00001C64 422F 0010 clr.b [A7 + 0x10]
00001C68 486F 0010 pea.l [A7 + 0x10]
00001C6C 4EAD DC34 jsr [A5 - 0x23CC]
00001C70 7000 moveq.l D0, 0x00
00001C72 102F 0014 move.b D0, [A7 + 0x14]
00001C76 2F00 move.l -[A7], D0
00001C78 486F 0019 pea.l [A7 + 0x19]
00001C7C 4EAD DE38 jsr [A5 - 0x21C8]
00001C80 4FEF 000C lea.l A7, [A7 + 0xC]
label00001C84:
00001C84 206A 0008 movea.l A0, [A2 + 0x8]
00001C88 A02A syscall HUnlock
00001C8A 4EAD DD58 jsr [A5 - 0x22A8]
00001C8E 4EAD DD68 jsr [A5 - 0x2298]
00001C92 4FEF 0110 lea.l A7, [A7 + 0x110]
00001C96 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00001C9A 4E75 rts
fn00001C9C:
00001C9C 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00001CA0 4FEF FEFE lea.l A7, [A7 - 0x102]
00001CA4 286F 011A movea.l A4, [A7 + 0x11A]
00001CA8 266F 011E movea.l A3, [A7 + 0x11E]
00001CAC 4AAB 0024 tst.l [A3 + 0x24]
00001CB0 6700 009E beq +0xA0 /* 00001D50 */
00001CB4 246B 0024 movea.l A2, [A3 + 0x24]
00001CB8 2452 movea.l A2, [A2]
00001CBA 508A addq.l A2, 8
00001CBC 362A 0002 move.w D3, [A2 + 0x2]
00001CC0 3812 move.w D4, [A2]
00001CC2 4EAD DD60 jsr [A5 - 0x22A0]
00001CC6 4267 clr.w -[A7]
00001CC8 A888 syscall TextFace
00001CCA 594F subq.w A7, 4
00001CCC 302D 135E move.w D0, [A5 + 0x135E]
00001CD0 48C0 ext.l D0
00001CD2 0680 0000 0081 addi.l D0, 0x81
00001CD8 3F00 move.w -[A7], D0
00001CDA A9BA syscall GetString
00001CDC 205F movea.l A0, [A7]+
00001CDE 2448 movea.l A2, A0
00001CE0 200A move.l D0, A2
00001CE2 6716 beq +0x18 /* 00001CFA */
00001CE4 206C 0048 movea.l A0, [A4 + 0x48]
00001CE8 2F28 0018 move.l -[A7], [A0 + 0x18]
00001CEC 486D E6E0 pea.l [A5 - 0x1920]
00001CF0 2F0C move.l -[A7], A4
00001CF2 42A7 clr.l -[A7]
00001CF4 4EAD DE28 jsr [A5 - 0x21D8]
00001CF8 6052 bra +0x54 /* 00001D4C */
label00001CFA:
00001CFA 4267 clr.w -[A7]
00001CFC A887 syscall TextFont
00001CFE 3F3C 000C move.w -[A7], 0xC
00001D02 A88A syscall TextSize
00001D04 4857 pea.l [A7]
00001D06 4EAD DD90 jsr [A5 - 0x2270]
00001D0A 486F 0006 pea.l [A7 + 0x6]
00001D0E 302D 135E move.w D0, [A5 + 0x135E]
00001D12 48C0 ext.l D0
00001D14 0680 0000 0081 addi.l D0, 0x81
00001D1A 3F00 move.w -[A7], D0
00001D1C 3F3C 0004 move.w -[A7], 0x4
00001D20 4EAD DA4E jsr [A5 - 0x25B2]
00001D24 302B 002C move.w D0, [A3 + 0x2C]
00001D28 48C0 ext.l D0
00001D2A 3203 move.w D1, D3
00001D2C 48C1 ext.l D1
00001D2E 9280 sub.l D1, D0
00001D30 5D81 subq.l D1, 6
00001D32 3F01 move.w -[A7], D1
00001D34 302F 0006 move.w D0, [A7 + 0x6]
00001D38 48C0 ext.l D0
00001D3A 3204 move.w D1, D4
00001D3C 48C1 ext.l D1
00001D3E D280 add.l D1, D0
00001D40 3F01 move.w -[A7], D1
00001D42 A893 syscall MoveTo
00001D44 486F 0006 pea.l [A7 + 0x6]
00001D48 A884 syscall DrawString
00001D4A 584F addq.w A7, 4
label00001D4C:
00001D4C 4EAD DD68 jsr [A5 - 0x2298]
label00001D50:
00001D50 4FEF 0102 lea.l A7, [A7 + 0x102]
00001D54 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00001D58 4E75 rts
fn00001D5A:
00001D5A 48E7 1030 movem.l -[A7], D3,A2,A3
00001D5E 1F3C 000C move.b -[A7], 0xC
00001D62 206F 0012 movea.l A0, [A7 + 0x12]
00001D66 2F28 0048 move.l -[A7], [A0 + 0x48]
00001D6A 4EBA 371E jsr [PC + 0x371E /* 0000548A */]
00001D6E 2648 movea.l A3, A0
00001D70 2008 move.l D0, A0
00001D72 5C4F addq.w A7, 6
00001D74 673A beq +0x3C /* 00001DB0 */
00001D76 594F subq.w A7, 4
00001D78 2F0B move.l -[A7], A3
00001D7A 4EAD D9AC jsr [A5 - 0x2654]
00001D7E 201F move.l D0, [A7]+
00001D80 223C 0000 0112 move.l D1, 0x112
00001D86 4EAD D8FE jsr [A5 - 0x2702]
00001D8A 2600 move.l D3, D0
00001D8C 204B movea.l A0, A3
00001D8E A029 syscall HLock
00001D90 2453 movea.l A2, [A3]
00001D92 6010 bra +0x12 /* 00001DA4 */
label00001D94:
00001D94 4AAA 0100 tst.l [A2 + 0x100]
00001D98 6706 beq +0x8 /* 00001DA0 */
00001D9A 2F2A 0100 move.l -[A7], [A2 + 0x100]
00001D9E A96D syscall Draw1Control
label00001DA0:
00001DA0 45EA 0112 lea.l A2, [A2 + 0x112]
label00001DA4:
00001DA4 2003 move.l D0, D3
00001DA6 5383 subq.l D3, 1
00001DA8 4A80 tst.l D0
00001DAA 66E8 bne -0x16 /* 00001D94 */
00001DAC 204B movea.l A0, A3
00001DAE A02A syscall HUnlock
label00001DB0:
00001DB0 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001DB4 4E75 rts
00001DB6 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001DBA 3F2F 000C move.w -[A7], [A7 + 0xC]
00001DBE A95D syscall HiliteControl
00001DC0 4E75 rts
fn00001DC2:
00001DC2 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00001DC6 4FEF FFF4 lea.l A7, [A7 - 0xC]
00001DCA 2C6F 0028 movea.l A6, [A7 + 0x28]
00001DCE 246F 002C movea.l A2, [A7 + 0x2C]
00001DD2 262F 0030 move.l D3, [A7 + 0x30]
00001DD6 266F 0034 movea.l A3, [A7 + 0x34]
00001DDA 206E 0048 movea.l A0, [A6 + 0x48]
00001DDE 4A28 006F tst.b [A0 + 0x6F]
00001DE2 6602 bne +0x4 /* 00001DE6 */
00001DE4 7601 moveq.l D3, 0x01
label00001DE6:
00001DE6 4AAA 0020 tst.l [A2 + 0x20]
00001DEA 6720 beq +0x22 /* 00001E0C */
00001DEC 4A83 tst.l D3
00001DEE 660C bne +0xE /* 00001DFC */
00001DF0 4EAD DBE6 jsr [A5 - 0x241A]
00001DF4 4A80 tst.l D0
00001DF6 6704 beq +0x6 /* 00001DFC */
00001DF8 7000 moveq.l D0, 0x00
00001DFA 6006 bra +0x8 /* 00001E02 */
label00001DFC:
00001DFC 203C 0000 00FF move.l D0, 0xFF
label00001E02:
00001E02 3F00 move.w -[A7], D0
00001E04 2F2A 0020 move.l -[A7], [A2 + 0x20]
00001E08 4E93 jsr [A3]
00001E0A 5C4F addq.w A7, 6
label00001E0C:
00001E0C 4AAA 0014 tst.l [A2 + 0x14]
00001E10 6718 beq +0x1A /* 00001E2A */
00001E12 4A83 tst.l D3
00001E14 6604 bne +0x6 /* 00001E1A */
00001E16 7000 moveq.l D0, 0x00
00001E18 6006 bra +0x8 /* 00001E20 */
label00001E1A:
00001E1A 203C 0000 00FF move.l D0, 0xFF
label00001E20:
00001E20 3F00 move.w -[A7], D0
00001E22 2F2A 0014 move.l -[A7], [A2 + 0x14]
00001E26 4E93 jsr [A3]
00001E28 5C4F addq.w A7, 6
label00001E2A:
00001E2A 486F 0008 pea.l [A7 + 0x8]
00001E2E 486F 0004 pea.l [A7 + 0x4]
00001E32 486F 000C pea.l [A7 + 0xC]
00001E36 2F2E 0048 move.l -[A7], [A6 + 0x48]
00001E3A 4EBA 399A jsr [PC + 0x399A /* 000057D6 */]
00001E3E 1F3C 0006 move.b -[A7], 0x6
00001E42 2F2E 0048 move.l -[A7], [A6 + 0x48]
00001E46 4EBA 3642 jsr [PC + 0x3642 /* 0000548A */]
00001E4A 5C4F addq.w A7, 6
00001E4C 3F10 move.w -[A7], [A0]
00001E4E 4EBA 1674 jsr [PC + 0x1674 /* 000034C4 */]
00001E52 7202 moveq.l D1, 0x02
00001E54 C081 and.l D0, D1
00001E56 4FEF 0012 lea.l A7, [A7 + 0x12]
00001E5A 6704 beq +0x6 /* 00001E60 */
00001E5C 42AF 0008 clr.l [A7 + 0x8]
label00001E60:
00001E60 4AAA 0018 tst.l [A2 + 0x18]
00001E64 671E beq +0x20 /* 00001E84 */
00001E66 4A83 tst.l D3
00001E68 660A bne +0xC /* 00001E74 */
00001E6A 4AAF 0004 tst.l [A7 + 0x4]
00001E6E 6704 beq +0x6 /* 00001E74 */
00001E70 7000 moveq.l D0, 0x00
00001E72 6006 bra +0x8 /* 00001E7A */
label00001E74:
00001E74 203C 0000 00FF move.l D0, 0xFF
label00001E7A:
00001E7A 3F00 move.w -[A7], D0
00001E7C 2F2A 0018 move.l -[A7], [A2 + 0x18]
00001E80 4E93 jsr [A3]
00001E82 5C4F addq.w A7, 6
label00001E84:
00001E84 4AAA 001C tst.l [A2 + 0x1C]
00001E88 671C beq +0x1E /* 00001EA6 */
00001E8A 4A83 tst.l D3
00001E8C 6608 bne +0xA /* 00001E96 */
00001E8E 4A97 tst.l [A7]
00001E90 6704 beq +0x6 /* 00001E96 */
00001E92 7000 moveq.l D0, 0x00
00001E94 6006 bra +0x8 /* 00001E9C */
label00001E96:
00001E96 203C 0000 00FF move.l D0, 0xFF
label00001E9C:
00001E9C 3F00 move.w -[A7], D0
00001E9E 2F2A 001C move.l -[A7], [A2 + 0x1C]
00001EA2 4E93 jsr [A3]
00001EA4 5C4F addq.w A7, 6
label00001EA6:
00001EA6 4AAA 0010 tst.l [A2 + 0x10]
00001EAA 671E beq +0x20 /* 00001ECA */
00001EAC 4A83 tst.l D3
00001EAE 660A bne +0xC /* 00001EBA */
00001EB0 4AAF 0008 tst.l [A7 + 0x8]
00001EB4 6604 bne +0x6 /* 00001EBA */
00001EB6 7000 moveq.l D0, 0x00
00001EB8 6006 bra +0x8 /* 00001EC0 */
label00001EBA:
00001EBA 203C 0000 00FF move.l D0, 0xFF
label00001EC0:
00001EC0 3F00 move.w -[A7], D0
00001EC2 2F2A 0010 move.l -[A7], [A2 + 0x10]
00001EC6 4E93 jsr [A3]
00001EC8 5C4F addq.w A7, 6
label00001ECA:
00001ECA 1F3C 000C move.b -[A7], 0xC
00001ECE 2F2E 0048 move.l -[A7], [A6 + 0x48]
00001ED2 4EBA 35B6 jsr [PC + 0x35B6 /* 0000548A */]
00001ED6 2848 movea.l A4, A0
00001ED8 2008 move.l D0, A0
00001EDA 5C4F addq.w A7, 6
00001EDC 676C beq +0x6E /* 00001F4A */
00001EDE 594F subq.w A7, 4
00001EE0 2F0C move.l -[A7], A4
00001EE2 4EAD D9AC jsr [A5 - 0x2654]
00001EE6 201F move.l D0, [A7]+
00001EE8 223C 0000 0112 move.l D1, 0x112
00001EEE 4EAD D8FE jsr [A5 - 0x2702]
00001EF2 2800 move.l D4, D0
00001EF4 204C movea.l A0, A4
00001EF6 A029 syscall HLock
00001EF8 2454 movea.l A2, [A4]
00001EFA 6042 bra +0x44 /* 00001F3E */
label00001EFC:
00001EFC 4AAA 0100 tst.l [A2 + 0x100]
00001F00 6738 beq +0x3A /* 00001F3A */
00001F02 0C2A 0005 0110 cmpi.b [A2 + 0x110], 0x5
00001F08 6710 beq +0x12 /* 00001F1A */
00001F0A 0C2A 0006 0110 cmpi.b [A2 + 0x110], 0x6
00001F10 6708 beq +0xA /* 00001F1A */
00001F12 0C2A 0007 0110 cmpi.b [A2 + 0x110], 0x7
00001F18 6620 bne +0x22 /* 00001F3A */
label00001F1A:
00001F1A 4A83 tst.l D3
00001F1C 660C bne +0xE /* 00001F2A */
00001F1E 082A 0007 010C btst.b [A2 + 0x10C], 0x7
00001F24 6704 beq +0x6 /* 00001F2A */
00001F26 7000 moveq.l D0, 0x00
00001F28 6006 bra +0x8 /* 00001F30 */
label00001F2A:
00001F2A 203C 0000 00FF move.l D0, 0xFF
label00001F30:
00001F30 3F00 move.w -[A7], D0
00001F32 2F2A 0100 move.l -[A7], [A2 + 0x100]
00001F36 4E93 jsr [A3]
00001F38 5C4F addq.w A7, 6
label00001F3A:
00001F3A 45EA 0112 lea.l A2, [A2 + 0x112]
label00001F3E:
00001F3E 2004 move.l D0, D4
00001F40 5384 subq.l D4, 1
00001F42 4A80 tst.l D0
00001F44 66B6 bne -0x48 /* 00001EFC */
00001F46 204C movea.l A0, A4
00001F48 A02A syscall HUnlock
label00001F4A:
00001F4A 4FEF 000C lea.l A7, [A7 + 0xC]
00001F4E 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00001F52 4E75 rts
fn00001F54:
00001F54 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00001F58 286F 0018 movea.l A4, [A7 + 0x18]
00001F5C 266F 0020 movea.l A3, [A7 + 0x20]
00001F60 554F subq.w A7, 2
00001F62 2F0B move.l -[A7], A3
00001F64 2F2F 002A move.l -[A7], [A7 + 0x2A]
00001F68 4878 FFFF push.l 0xFFFF
00001F6C A968 syscall TrackControl
00001F6E 301F move.w D0, [A7]+
00001F70 0C40 000A cmpi.w D0, 0xA /* '\n' */
00001F74 6656 bne +0x58 /* 00001FCC */
00001F76 1F3C 000C move.b -[A7], 0xC
00001F7A 2F2C 0048 move.l -[A7], [A4 + 0x48]
00001F7E 4EBA 350A jsr [PC + 0x350A /* 0000548A */]
00001F82 2C48 movea.l A6, A0
00001F84 2008 move.l D0, A0
00001F86 5C4F addq.w A7, 6
00001F88 6742 beq +0x44 /* 00001FCC */
00001F8A 594F subq.w A7, 4
00001F8C 2F0E move.l -[A7], A6
00001F8E 4EAD D9AC jsr [A5 - 0x2654]
00001F92 201F move.l D0, [A7]+
00001F94 223C 0000 0112 move.l D1, 0x112
00001F9A 4EAD D8FE jsr [A5 - 0x2702]
00001F9E 2600 move.l D3, D0
00001FA0 2456 movea.l A2, [A6]
00001FA2 6020 bra +0x22 /* 00001FC4 */
label00001FA4:
00001FA4 B7EA 0100 cmpa.l A3, [A2 + 0x100]
00001FA8 6616 bne +0x18 /* 00001FC0 */
00001FAA 42A7 clr.l -[A7]
00001FAC 4227 clr.b -[A7]
00001FAE 2F2A 0104 move.l -[A7], [A2 + 0x104]
00001FB2 2F2C 0048 move.l -[A7], [A4 + 0x48]
00001FB6 4EAD E978 jsr [A5 - 0x1688]
00001FBA 4FEF 000E lea.l A7, [A7 + 0xE]
00001FBE 600C bra +0xE /* 00001FCC */
label00001FC0:
00001FC0 45EA 0112 lea.l A2, [A2 + 0x112]
label00001FC4:
00001FC4 2003 move.l D0, D3
00001FC6 5383 subq.l D3, 1
00001FC8 4A80 tst.l D0
00001FCA 66D8 bne -0x26 /* 00001FA4 */
label00001FCC:
00001FCC 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00001FD0 4E75 rts
fn00001FD2:
00001FD2 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00001FD6 266F 001C movea.l A3, [A7 + 0x1C]
00001FDA 4AAB 0024 tst.l [A3 + 0x24]
00001FDE 6706 beq +0x8 /* 00001FE6 */
00001FE0 2F2B 0024 move.l -[A7], [A3 + 0x24]
00001FE4 A9CD syscall TEDispose
label00001FE6:
00001FE6 4AAB 0004 tst.l [A3 + 0x4]
00001FEA 6706 beq +0x8 /* 00001FF2 */
00001FEC 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001FF0 A8D9 syscall DisposRgn/DisposeRgn
label00001FF2:
00001FF2 1F3C 000C move.b -[A7], 0xC
00001FF6 206F 001A movea.l A0, [A7 + 0x1A]
00001FFA 2F28 0048 move.l -[A7], [A0 + 0x48]
00001FFE 4EBA 348A jsr [PC + 0x348A /* 0000548A */]
00002002 2848 movea.l A4, A0
00002004 2008 move.l D0, A0
00002006 5C4F addq.w A7, 6
00002008 6752 beq +0x54 /* 0000205C */
0000200A 594F subq.w A7, 4
0000200C 2F0C move.l -[A7], A4
0000200E 4EAD D9AC jsr [A5 - 0x2654]
00002012 201F move.l D0, [A7]+
00002014 223C 0000 0112 move.l D1, 0x112
0000201A 4EAD D8FE jsr [A5 - 0x2702]
0000201E 2800 move.l D4, D0
00002020 2F0C move.l -[A7], A4
00002022 4EAD DD80 jsr [A5 - 0x2280]
00002026 2448 movea.l A2, A0
00002028 7600 moveq.l D3, 0x00
0000202A 584F addq.w A7, 4
0000202C 6022 bra +0x24 /* 00002050 */
label0000202E:
0000202E 4AAA 0100 tst.l [A2 + 0x100]
00002032 6716 beq +0x18 /* 0000204A */
00002034 42A7 clr.l -[A7]
00002036 2F2A 0100 move.l -[A7], [A2 + 0x100]
0000203A 4EAD E920 jsr [A5 - 0x16E0]
0000203E 2F2A 0100 move.l -[A7], [A2 + 0x100]
00002042 A955 syscall DisposeControl
00002044 42AA 0100 clr.l [A2 + 0x100]
00002048 504F addq.w A7, 8
label0000204A:
0000204A 5283 addq.l D3, 1
0000204C 45EA 0112 lea.l A2, [A2 + 0x112]
label00002050:
00002050 B684 cmp.l D3, D4
00002052 6DDA blt -0x24 /* 0000202E */
00002054 2F0C move.l -[A7], A4
00002056 4EAD DD88 jsr [A5 - 0x2278]
0000205A 584F addq.w A7, 4
label0000205C:
0000205C 4A93 tst.l [A3]
0000205E 6704 beq +0x6 /* 00002064 */
00002060 2053 movea.l A0, [A3]
00002062 A023 syscall DisposHandle/DisposeHandle
label00002064:
00002064 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00002068 4E75 rts
fn0000206A:
0000206A 48E7 1030 movem.l -[A7], D3,A2,A3
0000206E 4FEF FFD4 lea.l A7, [A7 - 0x2C]
00002072 266F 0040 movea.l A3, [A7 + 0x40]
00002076 246F 0044 movea.l A2, [A7 + 0x44]
0000207A 7600 moveq.l D3, 0x00
0000207C 4AAB 0024 tst.l [A3 + 0x24]
00002080 6704 beq +0x6 /* 00002086 */
00002082 200A move.l D0, A2
00002084 660C bne +0xE /* 00002092 */
label00002086:
00002086 7000 moveq.l D0, 0x00
00002088 4FEF 002C lea.l A7, [A7 + 0x2C]
0000208C 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002090 4E75 rts
label00002092:
00002092 4857 pea.l [A7]
00002094 486F 000C pea.l [A7 + 0xC]
00002098 486F 000C pea.l [A7 + 0xC]
0000209C 2F0A move.l -[A7], A2
0000209E 206B 0024 movea.l A0, [A3 + 0x24]
000020A2 2050 movea.l A0, [A0]
000020A4 2F28 003E move.l -[A7], [A0 + 0x3E]
000020A8 4EAD E9F8 jsr [A5 - 0x1608]
000020AC 4AAF 0018 tst.l [A7 + 0x18]
000020B0 4FEF 0014 lea.l A7, [A7 + 0x14]
000020B4 6706 beq +0x8 /* 000020BC */
000020B6 45EF 0008 lea.l A2, [A7 + 0x8]
000020BA 6002 bra +0x4 /* 000020BE */
label000020BC:
000020BC 95CA sub.l A2, A2
label000020BE:
000020BE 2F03 move.l -[A7], D3
000020C0 2F0A move.l -[A7], A2
000020C2 206F 0044 movea.l A0, [A7 + 0x44]
000020C6 2F28 0048 move.l -[A7], [A0 + 0x48]
000020CA 4EAD EA00 jsr [A5 - 0x1600]
000020CE 206F 0054 movea.l A0, [A7 + 0x54]
000020D2 4AA8 0008 tst.l [A0 + 0x8]
000020D6 56C0 sne D0
000020D8 4400 neg.b D0
000020DA 4880 ext.w D0
000020DC 48C0 ext.l D0
000020DE 4FEF 0038 lea.l A7, [A7 + 0x38]
000020E2 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000020E6 4E75 rts
fn000020E8:
000020E8 206F 0008 movea.l A0, [A7 + 0x8]
000020EC 4AA8 0024 tst.l [A0 + 0x24]
000020F0 6732 beq +0x34 /* 00002124 */
000020F2 4878 0001 push.l 0x1
000020F6 206F 0008 movea.l A0, [A7 + 0x8]
000020FA 2F28 0048 move.l -[A7], [A0 + 0x48]
000020FE 4EAD EA10 jsr [A5 - 0x15F0]
00002102 42A7 clr.l -[A7]
00002104 486D B5D5 pea.l [A5 - 0x4A2B]
00002108 2F2F 0018 move.l -[A7], [A7 + 0x18]
0000210C 4EBA 0018 jsr [PC + 0x18 /* 00002126 */]
00002110 42A7 clr.l -[A7]
00002112 42A7 clr.l -[A7]
00002114 206F 0020 movea.l A0, [A7 + 0x20]
00002118 2F28 0048 move.l -[A7], [A0 + 0x48]
0000211C 4EAD EA00 jsr [A5 - 0x1600]
00002120 4FEF 0020 lea.l A7, [A7 + 0x20]
label00002124:
00002124 4E75 rts
fn00002126:
00002126 2F0A move.l -[A7], A2
00002128 514F subq.w A7, 8
0000212A 246F 0010 movea.l A2, [A7 + 0x10]
0000212E 4AAA 0024 tst.l [A2 + 0x24]
00002132 6736 beq +0x38 /* 0000216A */
00002134 206A 0024 movea.l A0, [A2 + 0x24]
00002138 2050 movea.l A0, [A0]
0000213A 2EA8 0008 move.l [A7], [A0 + 0x8]
0000213E 2F68 000C 0004 move.l [A7 + 0x4], [A0 + 0xC]
00002144 2F2F 0014 move.l -[A7], [A7 + 0x14]
00002148 2F2F 001C move.l -[A7], [A7 + 0x1C]
0000214C 2F2A 0024 move.l -[A7], [A2 + 0x24]
00002150 A9CF syscall TESetText
00002152 4857 pea.l [A7]
00002154 A8A3 syscall EraseRect
00002156 4857 pea.l [A7]
00002158 2F2A 0024 move.l -[A7], [A2 + 0x24]
0000215C A9D3 syscall TEUpdate
0000215E 42A7 clr.l -[A7]
00002160 4878 7FFF push.l 0x7FFF
00002164 2F2A 0024 move.l -[A7], [A2 + 0x24]
00002168 A9D1 syscall TESetSelect
label0000216A:
0000216A 504F addq.w A7, 8
0000216C 245F movea.l A2, [A7]+
0000216E 4E75 rts
fn00002170:
00002170 48E7 1030 movem.l -[A7], D3,A2,A3
00002174 4FEF FFF0 lea.l A7, [A7 - 0x10]
00002178 266F 0020 movea.l A3, [A7 + 0x20]
0000217C 246F 0024 movea.l A2, [A7 + 0x24]
00002180 4227 clr.b -[A7]
00002182 486F 0002 pea.l [A7 + 0x2]
00002186 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000218A 4EAD EA38 jsr [A5 - 0x15C8]
0000218E 2F6F 0032 0016 move.l [A7 + 0x16], [A7 + 0x32]
00002194 302F 0034 move.w D0, [A7 + 0x34]
00002198 48C0 ext.l D0
0000219A 5380 subq.l D0, 1
0000219C 3F40 0014 move.w [A7 + 0x14], D0
000021A0 4FEF 000A lea.l A7, [A7 + 0xA]
000021A4 6062 bra +0x64 /* 00002208 */
label000021A6:
000021A6 554F subq.w A7, 2
000021A8 2F2F 000E move.l -[A7], [A7 + 0xE]
000021AC 2F2F 000E move.l -[A7], [A7 + 0xE]
000021B0 A881 syscall EqualPt
000021B2 101F move.b D0, [A7]+
000021B4 664C bne +0x4E /* 00002202 */
000021B6 2F6F 000C 0008 move.l [A7 + 0x8], [A7 + 0xC]
000021BC 4AAA 0004 tst.l [A2 + 0x4]
000021C0 672E beq +0x30 /* 000021F0 */
000021C2 554F subq.w A7, 2
000021C4 2F2F 000E move.l -[A7], [A7 + 0xE]
000021C8 486F 0006 pea.l [A7 + 0x6]
000021CC A8AD syscall PtInRect
000021CE 101F move.b D0, [A7]+
000021D0 6610 bne +0x12 /* 000021E2 */
000021D2 554F subq.w A7, 2
000021D4 2F2F 000E move.l -[A7], [A7 + 0xE]
000021D8 2F2A 0004 move.l -[A7], [A2 + 0x4]
000021DC A8E8 syscall PtInRgn
000021DE 101F move.b D0, [A7]+
000021E0 670E beq +0x10 /* 000021F0 */
label000021E2:
000021E2 362D 135E move.w D3, [A5 + 0x135E]
000021E6 48C3 ext.l D3
000021E8 0683 0000 008B addi.l D3, 0x8B
000021EE 600C bra +0xE /* 000021FC */
label000021F0:
000021F0 362D 135E move.w D3, [A5 + 0x135E]
000021F4 48C3 ext.l D3
000021F6 0683 0000 008D addi.l D3, 0x8D
label000021FC:
000021FC 3F03 move.w -[A7], D3
000021FE 4EAD DDA0 jsr [A5 - 0x2260]
label00002202:
00002202 486F 000C pea.l [A7 + 0xC]
00002206 A972 syscall GetMouse
label00002208:
00002208 554F subq.w A7, 2
0000220A A973 syscall StillDown
0000220C 101F move.b D0, [A7]+
0000220E 6696 bne -0x68 /* 000021A6 */
00002210 554F subq.w A7, 2
00002212 2F2F 000E move.l -[A7], [A7 + 0xE]
00002216 486F 0006 pea.l [A7 + 0x6]
0000221A A8AD syscall PtInRect
0000221C 101F move.b D0, [A7]+
0000221E 6744 beq +0x46 /* 00002264 */
00002220 2F0A move.l -[A7], A2
00002222 2F0B move.l -[A7], A3
00002224 4EBA FEC2 jsr [PC - 0x13E /* 000020E8 */]
00002228 4A6D B48A tst.w [A5 - 0x4B76]
0000222C 504F addq.w A7, 8
0000222E 661A bne +0x1C /* 0000224A */
00002230 4267 clr.w -[A7]
00002232 7001 moveq.l D0, 0x01
00002234 322D 135E move.w D1, [A5 + 0x135E]
00002238 48C1 ext.l D1
0000223A 5C81 addq.l D1, 6
0000223C 7410 moveq.l D2, 0x10
0000223E E5A9 lsl D1, D2
00002240 8280 or.l D1, D0
00002242 2F01 move.l -[A7], D1
00002244 4EAD E338 jsr [A5 - 0x1CC8]
00002248 5C4F addq.w A7, 6
label0000224A:
0000224A 4A6D B48A tst.w [A5 - 0x4B76]
0000224E 6714 beq +0x16 /* 00002264 */
00002250 2F2F 000C move.l -[A7], [A7 + 0xC]
00002254 486F 0004 pea.l [A7 + 0x4]
00002258 2F0A move.l -[A7], A2
0000225A 2F0B move.l -[A7], A3
0000225C 4EBA 0010 jsr [PC + 0x10 /* 0000226E */]
00002260 4FEF 0010 lea.l A7, [A7 + 0x10]
label00002264:
00002264 4FEF 0010 lea.l A7, [A7 + 0x10]
00002268 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000226C 4E75 rts
fn0000226E:
0000226E 48E7 0038 movem.l -[A7], A2,A3,A4
00002272 514F subq.w A7, 8
00002274 246F 0018 movea.l A2, [A7 + 0x18]
00002278 286F 001C movea.l A4, [A7 + 0x1C]
0000227C 2F2F 0020 move.l -[A7], [A7 + 0x20]
00002280 4EAD DD50 jsr [A5 - 0x22B0]
00002284 2F6F 0028 0004 move.l [A7 + 0x4], [A7 + 0x28]
0000228A 302F 0006 move.w D0, [A7 + 0x6]
0000228E 48C0 ext.l D0
00002290 722A moveq.l D1, 0x2A
00002292 D081 add.l D0, D1
00002294 3F40 000A move.w [A7 + 0xA], D0
00002298 302F 0004 move.w D0, [A7 + 0x4]
0000229C 48C0 ext.l D0
0000229E 7227 moveq.l D1, 0x27
000022A0 D081 add.l D0, D1
000022A2 3F40 0008 move.w [A7 + 0x8], D0
000022A6 486F 0004 pea.l [A7 + 0x4]
000022AA 2F2A 0048 move.l -[A7], [A2 + 0x48]
000022AE 4EAD F630 jsr [A5 - 0x9D0]
000022B2 2648 movea.l A3, A0
000022B4 2008 move.l D0, A0
000022B6 4FEF 000C lea.l A7, [A7 + 0xC]
000022BA 673A beq +0x3C /* 000022F6 */
000022BC 4AAC 0024 tst.l [A4 + 0x24]
000022C0 6706 beq +0x8 /* 000022C8 */
000022C2 2F2C 0024 move.l -[A7], [A4 + 0x24]
000022C6 A9D9 syscall TEDeactivate
label000022C8:
000022C8 42A7 clr.l -[A7]
000022CA 2F2A 0048 move.l -[A7], [A2 + 0x48]
000022CE 4EAD E3D8 jsr [A5 - 0x1C28]
000022D2 42A7 clr.l -[A7]
000022D4 4878 0001 push.l 0x1
000022D8 2F0B move.l -[A7], A3
000022DA 4EAD F640 jsr [A5 - 0x9C0]
000022DE 2F2A 0048 move.l -[A7], [A2 + 0x48]
000022E2 4EAD EA40 jsr [A5 - 0x15C0]
000022E6 4878 0001 push.l 0x1
000022EA 2F2A 0048 move.l -[A7], [A2 + 0x48]
000022EE 4EAD EA10 jsr [A5 - 0x15F0]
000022F2 4FEF 0020 lea.l A7, [A7 + 0x20]
label000022F6:
000022F6 4EAD DD58 jsr [A5 - 0x22A8]
000022FA 504F addq.w A7, 8
000022FC 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002300 4E75 rts
fn00002302:
00002302 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00002306 4FEF FEE4 lea.l A7, [A7 - 0x11C]
0000230A 2C6F 0154 movea.l A6, [A7 + 0x154]
0000230E 286F 0158 movea.l A4, [A7 + 0x158]
00002312 282F 015C move.l D4, [A7 + 0x15C]
00002316 162F 0160 move.b D3, [A7 + 0x160]
0000231A 3A2F 0166 move.w D5, [A7 + 0x166]
0000231E 41ED 8AE0 lea.l A0, [A5 - 0x7520]
00002322 43D7 lea.l A1, [A7]
00002324 7043 moveq.l D0, 0x43
label00002326:
00002326 22D8 move.l [A1]+, [A0]+
00002328 51C8 FFFC dbf D0, -0x6 /* 00002326 */
0000232C 32D8 move.w [A1]+, [A0]+
0000232E 4AAF 0150 tst.l [A7 + 0x150]
00002332 6604 bne +0x6 /* 00002338 */
00002334 41D7 lea.l A0, [A7]
00002336 6004 bra +0x6 /* 0000233C */
label00002338:
00002338 206F 0150 movea.l A0, [A7 + 0x150]
label0000233C:
0000233C 2448 movea.l A2, A0
0000233E 426F 011A clr.w [A7 + 0x11A]
00002342 1F3C 000C move.b -[A7], 0xC
00002346 2F2F 0146 move.l -[A7], [A7 + 0x146]
0000234A 4EBA 313E jsr [PC + 0x313E /* 0000548A */]
0000234E 2648 movea.l A3, A0
00002350 2008 move.l D0, A0
00002352 5C4F addq.w A7, 6
00002354 660C bne +0xE /* 00002362 */
00002356 7000 moveq.l D0, 0x00
00002358 4FEF 011C lea.l A7, [A7 + 0x11C]
0000235C 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00002360 4E75 rts
label00002362:
00002362 7000 moveq.l D0, 0x00
00002364 1003 move.b D0, D3
00002366 5580 subq.l D0, 2
00002368 672E beq +0x30 /* 00002398 */
0000236A 5380 subq.l D0, 1
0000236C 672A beq +0x2C /* 00002398 */
0000236E 4E71 nop
00002370 4EAD DD60 jsr [A5 - 0x22A0]
00002374 4267 clr.w -[A7]
00002376 A887 syscall TextFont
00002378 4267 clr.w -[A7]
0000237A A88A syscall TextSize
0000237C 4267 clr.w -[A7]
0000237E A888 syscall TextFace
00002380 554F subq.w A7, 2
00002382 2F0E move.l -[A7], A6
00002384 A88C syscall StringWidth
00002386 301F move.w D0, [A7]+
00002388 48C0 ext.l D0
0000238A 720C moveq.l D1, 0x0C
0000238C D081 add.l D0, D1
0000238E 3E00 move.w D7, D0
00002390 4EAD DD68 jsr [A5 - 0x2298]
00002394 7C00 moveq.l D6, 0x00
00002396 600E bra +0x10 /* 000023A6 */
label00002398:
00002398 0C03 0003 cmpi.b D3, 0x3
0000239C 6604 bne +0x6 /* 000023A2 */
0000239E 7C02 moveq.l D6, 0x02
000023A0 6002 bra +0x4 /* 000023A4 */
label000023A2:
000023A2 7C01 moveq.l D6, 0x01
label000023A4:
000023A4 7E27 moveq.l D7, 0x27
label000023A6:
000023A6 486F 0112 pea.l [A7 + 0x112]
000023AA 42A7 clr.l -[A7]
000023AC 3F07 move.w -[A7], D7
000023AE 3F3C 0014 move.w -[A7], 0x14
000023B2 A8A7 syscall SetRect
000023B4 4AAF 014C tst.l [A7 + 0x14C]
000023B8 6606 bne +0x8 /* 000023C0 */
000023BA 42AA 0100 clr.l [A2 + 0x100]
000023BE 6026 bra +0x28 /* 000023E6 */
label000023C0:
000023C0 1F06 move.b -[A7], D6
000023C2 2F0E move.l -[A7], A6
000023C4 486F 0118 pea.l [A7 + 0x118]
000023C8 2F2F 014E move.l -[A7], [A7 + 0x14E]
000023CC 4EAD E908 jsr [A5 - 0x16F8]
000023D0 2548 0100 move.l [A2 + 0x100], A0
000023D4 2008 move.l D0, A0
000023D6 4FEF 000E lea.l A7, [A7 + 0xE]
000023DA 660A bne +0xC /* 000023E6 */
000023DC 3F7C FF94 011A move.w [A7 + 0x11A], 0xFF94
000023E2 6000 012C bra +0x12E /* 00002510 */
label000023E6:
000023E6 4AAF 014C tst.l [A7 + 0x14C]
000023EA 672C beq +0x2E /* 00002418 */
000023EC 206F 014C movea.l A0, [A7 + 0x14C]
000023F0 4AA8 0030 tst.l [A0 + 0x30]
000023F4 670E beq +0x10 /* 00002404 */
000023F6 4878 0001 push.l 0x1
000023FA 2F2A 0100 move.l -[A7], [A2 + 0x100]
000023FE 4EAD E920 jsr [A5 - 0x16E0]
00002402 504F addq.w A7, 8
label00002404:
00002404 206F 0144 movea.l A0, [A7 + 0x144]
00002408 4A28 006F tst.b [A0 + 0x6F]
0000240C 660A bne +0xC /* 00002418 */
0000240E 2F2A 0100 move.l -[A7], [A2 + 0x100]
00002412 3F3C 00FF move.w -[A7], 0xFF
00002416 A95D syscall HiliteControl
label00002418:
00002418 4AAF 0150 tst.l [A7 + 0x150]
0000241C 6600 00F2 bne +0xF4 /* 00002510 */
00002420 204E movea.l A0, A6
00002422 224A movea.l A1, A2
00002424 7000 moveq.l D0, 0x00
00002426 1016 move.b D0, [A6]
00002428 5280 addq.l D0, 1
0000242A A02E syscall BlockMove/BlockMoveData
0000242C 2544 0104 move.l [A2 + 0x104], D4
00002430 1543 0110 move.b [A2 + 0x110], D3
00002434 200C move.l D0, A4
00002436 672A beq +0x2C /* 00002462 */
00002438 486F 011A pea.l [A7 + 0x11A]
0000243C 2F0C move.l -[A7], A4
0000243E 4EAD DD80 jsr [A5 - 0x2280]
00002442 584F addq.w A7, 4
00002444 2F08 move.l -[A7], A0
00002446 4EAD DA7E jsr [A5 - 0x2582]
0000244A 2548 0108 move.l [A2 + 0x108], A0
0000244E 2F0C move.l -[A7], A4
00002450 4EAD DD88 jsr [A5 - 0x2278]
00002454 4A6F 0126 tst.w [A7 + 0x126]
00002458 4FEF 000C lea.l A7, [A7 + 0xC]
0000245C 6708 beq +0xA /* 00002466 */
0000245E 6000 00B0 bra +0xB2 /* 00002510 */
label00002462:
00002462 42AA 0108 clr.l [A2 + 0x108]
label00002466:
00002466 002A 0080 010C ori.b [A2 + 0x10C], 0x80
0000246C 594F subq.w A7, 4
0000246E 2F0B move.l -[A7], A3
00002470 4EAD D9AC jsr [A5 - 0x2654]
00002474 201F move.l D0, [A7]+
00002476 2600 move.l D3, D0
00002478 3005 move.w D0, D5
0000247A 48C0 ext.l D0
0000247C 4A80 tst.l D0
0000247E 6D14 blt +0x16 /* 00002494 */
00002480 2003 move.l D0, D3
00002482 223C 0000 0112 move.l D1, 0x112
00002488 4EAD D8FE jsr [A5 - 0x2702]
0000248C 3205 move.w D1, D5
0000248E 48C1 ext.l D1
00002490 B280 cmp.l D1, D0
00002492 6512 bcs +0x14 /* 000024A6 */
label00002494:
00002494 204A movea.l A0, A2
00002496 224B movea.l A1, A3
00002498 203C 0000 0112 move.l D0, 0x112
0000249E A9EF syscall PtrAndHand
000024A0 3F40 011A move.w [A7 + 0x11A], D0
000024A4 606A bra +0x6C /* 00002510 */
label000024A6:
000024A6 204B movea.l A0, A3
000024A8 2003 move.l D0, D3
000024AA 0680 0000 0112 addi.l D0, 0x112
000024B0 A024 syscall SetHandleSize
000024B2 554F subq.w A7, 2
000024B4 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000024B8 301F move.w D0, [A7]+
000024BA 6712 beq +0x14 /* 000024CE */
000024BC 554F subq.w A7, 2
000024BE 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000024C2 301F move.w D0, [A7]+
000024C4 4FEF 011C lea.l A7, [A7 + 0x11C]
000024C8 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000024CC 4E75 rts
label000024CE:
000024CE 3005 move.w D0, D5
000024D0 48C0 ext.l D0
000024D2 223C 0000 0112 move.l D1, 0x112
000024D8 4EAD D8F8 jsr [A5 - 0x2708]
000024DC 3800 move.w D4, D0
000024DE 2F0B move.l -[A7], A3
000024E0 4EAD DD80 jsr [A5 - 0x2280]
000024E4 2848 movea.l A4, A0
000024E6 3044 movea.w A0, D4
000024E8 D9C8 add.l A4, A0
000024EA 3004 move.w D0, D4
000024EC 48C0 ext.l D0
000024EE 2203 move.l D1, D3
000024F0 9280 sub.l D1, D0
000024F2 2001 move.l D0, D1
000024F4 204C movea.l A0, A4
000024F6 43EC 0112 lea.l A1, [A4 + 0x112]
000024FA A02E syscall BlockMove/BlockMoveData
000024FC 204A movea.l A0, A2
000024FE 224C movea.l A1, A4
00002500 203C 0000 0112 move.l D0, 0x112
00002506 A02E syscall BlockMove/BlockMoveData
00002508 2F0B move.l -[A7], A3
0000250A 4EAD DD88 jsr [A5 - 0x2278]
0000250E 504F addq.w A7, 8
label00002510:
00002510 4A6F 011A tst.w [A7 + 0x11A]
00002514 670E beq +0x10 /* 00002524 */
00002516 4AAA 0100 tst.l [A2 + 0x100]
0000251A 6708 beq +0xA /* 00002524 */
0000251C 2F2A 0100 move.l -[A7], [A2 + 0x100]
00002520 A955 syscall DisposeControl
00002522 600E bra +0x10 /* 00002532 */
label00002524:
00002524 4AAF 0162 tst.l [A7 + 0x162]
00002528 6708 beq +0xA /* 00002532 */
0000252A 206F 0162 movea.l A0, [A7 + 0x162]
0000252E 20AA 0100 move.l [A0], [A2 + 0x100]
label00002532:
00002532 302F 011A move.w D0, [A7 + 0x11A]
00002536 4FEF 011C lea.l A7, [A7 + 0x11C]
0000253A 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
0000253E 4E75 rts
fn00002540:
00002540 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00002544 4FEF FFEE lea.l A7, [A7 - 0x12]
00002548 246F 003A movea.l A2, [A7 + 0x3A]
0000254C 7A01 moveq.l D5, 0x01
0000254E 7604 moveq.l D3, 0x04
00002550 7804 moveq.l D4, 0x04
00002552 1F3C 000C move.b -[A7], 0xC
00002556 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000255A 4EBA 2F2E jsr [PC + 0x2F2E /* 0000548A */]
0000255E 2C48 movea.l A6, A0
00002560 2008 move.l D0, A0
00002562 5C4F addq.w A7, 6
00002564 6700 0102 beq +0x104 /* 00002668 */
00002568 206A 0048 movea.l A0, [A2 + 0x48]
0000256C 3028 0012 move.w D0, [A0 + 0x12]
00002570 48C0 ext.l D0
00002572 206A 0048 movea.l A0, [A2 + 0x48]
00002576 3228 0016 move.w D1, [A0 + 0x16]
0000257A 48C1 ext.l D1
0000257C 9280 sub.l D1, D0
0000257E 5181 subq.l D1, 8
00002580 3E81 move.w [A7], D1
00002582 594F subq.w A7, 4
00002584 2F0E move.l -[A7], A6
00002586 4EAD D9AC jsr [A5 - 0x2654]
0000258A 201F move.l D0, [A7]+
0000258C 223C 0000 0112 move.l D1, 0x112
00002592 4EAD D8FE jsr [A5 - 0x2702]
00002596 2840 movea.l A4, D0
00002598 2F0E move.l -[A7], A6
0000259A 4EAD DD80 jsr [A5 - 0x2280]
0000259E 2648 movea.l A3, A0
000025A0 7E00 moveq.l D7, 0x00
000025A2 584F addq.w A7, 4
000025A4 6000 00A6 bra +0xA8 /* 0000264C */
label000025A8:
000025A8 4AAB 0100 tst.l [A3 + 0x100]
000025AC 6700 0098 beq +0x9A /* 00002646 */
000025B0 246B 0100 movea.l A2, [A3 + 0x100]
000025B4 2452 movea.l A2, [A2]
000025B6 508A addq.l A2, 8
000025B8 302A 0002 move.w D0, [A2 + 0x2]
000025BC 48C0 ext.l D0
000025BE 3C2A 0006 move.w D6, [A2 + 0x6]
000025C2 48C6 ext.l D6
000025C4 9C80 sub.l D6, D0
000025C6 4A85 tst.l D5
000025C8 661C bne +0x1E /* 000025E6 */
000025CA 3017 move.w D0, [A7]
000025CC 48C0 ext.l D0
000025CE 3206 move.w D1, D6
000025D0 48C1 ext.l D1
000025D2 3403 move.w D2, D3
000025D4 48C2 ext.l D2
000025D6 D481 add.l D2, D1
000025D8 B480 cmp.l D2, D0
000025DA 6F0A ble +0xC /* 000025E6 */
000025DC 7604 moveq.l D3, 0x04
000025DE 0644 0018 addi.w D4, 0x18
000025E2 7A01 moveq.l D5, 0x01
000025E4 6002 bra +0x4 /* 000025E8 */
label000025E6:
000025E6 7A00 moveq.l D5, 0x00
label000025E8:
000025E8 B66A 0002 cmp.w D3, [A2 + 0x2]
000025EC 6604 bne +0x6 /* 000025F2 */
000025EE B852 cmp.w D4, [A2]
000025F0 674C beq +0x4E /* 0000263E */
label000025F2:
000025F2 206B 0100 movea.l A0, [A3 + 0x100]
000025F6 2450 movea.l A2, [A0]
000025F8 2F6A 0008 000A move.l [A7 + 0xA], [A2 + 0x8]
000025FE 2F6A 000C 000E move.l [A7 + 0xE], [A2 + 0xC]
00002604 486A 0008 pea.l [A2 + 0x8]
00002608 302F 0010 move.w D0, [A7 + 0x10]
0000260C 48C0 ext.l D0
0000260E 3203 move.w D1, D3
00002610 48C1 ext.l D1
00002612 9280 sub.l D1, D0
00002614 3F01 move.w -[A7], D1
00002616 302F 0010 move.w D0, [A7 + 0x10]
0000261A 48C0 ext.l D0
0000261C 3204 move.w D1, D4
0000261E 48C1 ext.l D1
00002620 9280 sub.l D1, D0
00002622 3F01 move.w -[A7], D1
00002624 A8A8 syscall OffsetRect
00002626 2F6A 0008 0002 move.l [A7 + 0x2], [A2 + 0x8]
0000262C 2F6A 000C 0006 move.l [A7 + 0x6], [A2 + 0xC]
00002632 486F 000A pea.l [A7 + 0xA]
00002636 A928 syscall InvalRect
00002638 486F 0002 pea.l [A7 + 0x2]
0000263C A928 syscall InvalRect
label0000263E:
0000263E 3006 move.w D0, D6
00002640 48C0 ext.l D0
00002642 5880 addq.l D0, 4
00002644 D640 add.w D3, D0
label00002646:
00002646 5287 addq.l D7, 1
00002648 47EB 0112 lea.l A3, [A3 + 0x112]
label0000264C:
0000264C BE8C cmp.l D7, A4
0000264E 6D00 FF58 blt -0xA6 /* 000025A8 */
00002652 2F0E move.l -[A7], A6
00002654 4EAD DD88 jsr [A5 - 0x2278]
00002658 3004 move.w D0, D4
0000265A 48C0 ext.l D0
0000265C 7218 moveq.l D1, 0x18
0000265E D081 add.l D0, D1
00002660 206F 0046 movea.l A0, [A7 + 0x46]
00002664 3080 move.w [A0], D0
00002666 584F addq.w A7, 4
label00002668:
00002668 4FEF 0012 lea.l A7, [A7 + 0x12]
0000266C 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00002670 4E75 rts
fn00002672:
00002672 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00002676 4FEF FFE0 lea.l A7, [A7 - 0x20]
0000267A 2C6F 0048 movea.l A6, [A7 + 0x48]
0000267E 246F 004C movea.l A2, [A7 + 0x4C]
00002682 266F 0050 movea.l A3, [A7 + 0x50]
00002686 7600 moveq.l D3, 0x00
00002688 7804 moveq.l D4, 0x04
0000268A 7C04 moveq.l D6, 0x04
0000268C 594F subq.w A7, 4
0000268E 302D 135E move.w D0, [A5 + 0x135E]
00002692 48C0 ext.l D0
00002694 0680 0000 0081 addi.l D0, 0x81
0000269A 3F00 move.w -[A7], D0
0000269C A9BA syscall GetString
0000269E 205F movea.l A0, [A7]+
000026A0 2008 move.l D0, A0
000026A2 56C0 sne D0
000026A4 4400 neg.b D0
000026A6 4880 ext.w D0
000026A8 48C0 ext.l D0
000026AA 2A00 move.l D5, D0
000026AC 1F3C 000C move.b -[A7], 0xC
000026B0 2F2E 0048 move.l -[A7], [A6 + 0x48]
000026B4 4EBA 2DD4 jsr [PC + 0x2DD4 /* 0000548A */]
000026B8 2848 movea.l A4, A0
000026BA 2008 move.l D0, A0
000026BC 5C4F addq.w A7, 6
000026BE 6700 00BC beq +0xBE /* 0000277C */
000026C2 594F subq.w A7, 4
000026C4 2F0C move.l -[A7], A4
000026C6 4EAD D9AC jsr [A5 - 0x2654]
000026CA 201F move.l D0, [A7]+
000026CC 223C 0000 0112 move.l D1, 0x112
000026D2 4EAD D8FE jsr [A5 - 0x2702]
000026D6 2F40 0004 move.l [A7 + 0x4], D0
000026DA 6700 00A0 beq +0xA2 /* 0000277C */
000026DE 223C 0000 0112 move.l D1, 0x112
000026E4 4EAD D8F8 jsr [A5 - 0x2708]
000026E8 2054 movea.l A0, [A4]
000026EA D1C0 add.l A0, D0
000026EC 41E8 FEEE lea.l A0, [A0 - 0x112]
000026F0 2E08 move.l D7, A0
000026F2 2047 movea.l A0, D7
000026F4 4AA8 0100 tst.l [A0 + 0x100]
000026F8 6700 0084 beq +0x86 /* 0000277E */
000026FC 2847 movea.l A4, D7
000026FE 286C 0100 movea.l A4, [A4 + 0x100]
00002702 2854 movea.l A4, [A4]
00002704 508C addq.l A4, 8
00002706 4AAD 8C2C tst.l [A5 - 0x73D4]
0000270A 6604 bne +0x6 /* 00002710 */
0000270C 7000 moveq.l D0, 0x00
0000270E 6002 bra +0x4 /* 00002712 */
label00002710:
00002710 7008 moveq.l D0, 0x08
label00002712:
00002712 3E00 move.w D7, D0
00002714 3C14 move.w D6, [A4]
00002716 206E 0048 movea.l A0, [A6 + 0x48]
0000271A 3028 0016 move.w D0, [A0 + 0x16]
0000271E 48C0 ext.l D0
00002720 5980 subq.l D0, 4
00002722 2E80 move.l [A7], D0
00002724 4AAD 8C2C tst.l [A5 - 0x73D4]
00002728 6604 bne +0x6 /* 0000272E */
0000272A 7000 moveq.l D0, 0x00
0000272C 600A bra +0xC /* 00002738 */
label0000272E:
0000272E 302A 002C move.w D0, [A2 + 0x2C]
00002732 48C0 ext.l D0
00002734 724C moveq.l D1, 0x4C
00002736 D081 add.l D0, D1
label00002738:
00002738 721F moveq.l D1, 0x1F
0000273A D081 add.l D0, D1
0000273C 3207 move.w D1, D7
0000273E 48C1 ext.l D1
00002740 342C 0006 move.w D2, [A4 + 0x6]
00002744 48C2 ext.l D2
00002746 D481 add.l D2, D1
00002748 D480 add.l D2, D0
0000274A B497 cmp.l D2, [A7]
0000274C 6C30 bge +0x32 /* 0000277E */
0000274E 7601 moveq.l D3, 0x01
00002750 4AAD 8C2C tst.l [A5 - 0x73D4]
00002754 671C beq +0x1E /* 00002772 */
00002756 4A85 tst.l D5
00002758 6618 bne +0x1A /* 00002772 */
0000275A 3807 move.w D4, D7
0000275C 48C4 ext.l D4
0000275E 322C 0006 move.w D1, [A4 + 0x6]
00002762 48C1 ext.l D1
00002764 D284 add.l D1, D4
00002766 382A 002C move.w D4, [A2 + 0x2C]
0000276A 48C4 ext.l D4
0000276C D881 add.l D4, D1
0000276E 5684 addq.l D4, 3
00002770 600C bra +0xE /* 0000277E */
label00002772:
00002772 382C 0006 move.w D4, [A4 + 0x6]
00002776 48C4 ext.l D4
00002778 5884 addq.l D4, 4
0000277A 6002 bra +0x4 /* 0000277E */
label0000277C:
0000277C 7601 moveq.l D3, 0x01
label0000277E:
0000277E 4A85 tst.l D5
00002780 6708 beq +0xA /* 0000278A */
00002782 302A 002E move.w D0, [A2 + 0x2E]
00002786 D153 add.w [A3], D0
00002788 7600 moveq.l D3, 0x00
label0000278A:
0000278A 4AAA 0024 tst.l [A2 + 0x24]
0000278E 6700 0144 beq +0x146 /* 000028D4 */
00002792 286A 0024 movea.l A4, [A2 + 0x24]
00002796 2854 movea.l A4, [A4]
00002798 508C addq.l A4, 8
0000279A 3014 move.w D0, [A4]
0000279C 48C0 ext.l D0
0000279E 3E2C 0004 move.w D7, [A4 + 0x4]
000027A2 48C7 ext.l D7
000027A4 9E80 sub.l D7, D0
000027A6 4A83 tst.l D3
000027A8 6738 beq +0x3A /* 000027E2 */
000027AA 3F44 001A move.w [A7 + 0x1A], D4
000027AE 206E 0048 movea.l A0, [A6 + 0x48]
000027B2 3028 0016 move.w D0, [A0 + 0x16]
000027B6 48C0 ext.l D0
000027B8 72DE moveq.l D1, 0xFFFFFFDE
000027BA D081 add.l D0, D1
000027BC 3F40 001E move.w [A7 + 0x1E], D0
000027C0 3007 move.w D0, D7
000027C2 48C0 ext.l D0
000027C4 72EC moveq.l D1, 0xFFFFFFEC
000027C6 D081 add.l D0, D1
000027C8 2200 move.l D1, D0
000027CA E089 lsr D1, 8
000027CC E089 lsr D1, 8
000027CE E089 lsr D1, 8
000027D0 EE89 lsr D1, 7
000027D2 D280 add.l D1, D0
000027D4 E281 asr D1, 1
000027D6 3006 move.w D0, D6
000027D8 48C0 ext.l D0
000027DA D081 add.l D0, D1
000027DC 5280 addq.l D0, 1
000027DE 3680 move.w [A3], D0
000027E0 602C bra +0x2E /* 0000280E */
label000027E2:
000027E2 4A85 tst.l D5
000027E4 6708 beq +0xA /* 000027EE */
000027E6 3F7C 0007 001A move.w [A7 + 0x1A], 0x7
000027EC 600E bra +0x10 /* 000027FC */
label000027EE:
000027EE 302A 002C move.w D0, [A2 + 0x2C]
000027F2 48C0 ext.l D0
000027F4 720A moveq.l D1, 0x0A
000027F6 D081 add.l D0, D1
000027F8 3F40 001A move.w [A7 + 0x1A], D0
label000027FC:
000027FC 206E 0048 movea.l A0, [A6 + 0x48]
00002800 3028 0016 move.w D0, [A0 + 0x16]
00002804 48C0 ext.l D0
00002806 72DE moveq.l D1, 0xFFFFFFDE
00002808 D081 add.l D0, D1
0000280A 3F40 001E move.w [A7 + 0x1E], D0
label0000280E:
0000280E 3013 move.w D0, [A3]
00002810 48C0 ext.l D0
00002812 5680 addq.l D0, 3
00002814 3F40 0018 move.w [A7 + 0x18], D0
00002818 3007 move.w D0, D7
0000281A 48C0 ext.l D0
0000281C 322F 0018 move.w D1, [A7 + 0x18]
00002820 48C1 ext.l D1
00002822 D280 add.l D1, D0
00002824 3F41 001C move.w [A7 + 0x1C], D1
00002828 3001 move.w D0, D1
0000282A 48C0 ext.l D0
0000282C 5E80 addq.l D0, 7
0000282E 3680 move.w [A3], D0
00002830 554F subq.w A7, 2
00002832 486F 001A pea.l [A7 + 0x1A]
00002836 2F0C move.l -[A7], A4
00002838 A8A6 syscall EqualRect
0000283A 101F move.b D0, [A7]+
0000283C 6600 0096 bne +0x98 /* 000028D4 */
00002840 2F54 0008 move.l [A7 + 0x8], [A4]
00002844 2F6C 0004 000C move.l [A7 + 0xC], [A4 + 0x4]
0000284A 206A 0024 movea.l A0, [A2 + 0x24]
0000284E 2850 movea.l A4, [A0]
00002850 28AF 0018 move.l [A4], [A7 + 0x18]
00002854 296F 001C 0004 move.l [A4 + 0x4], [A7 + 0x1C]
0000285A 296F 0018 0008 move.l [A4 + 0x8], [A7 + 0x18]
00002860 296F 001C 000C move.l [A4 + 0xC], [A7 + 0x1C]
00002866 2F2A 0024 move.l -[A7], [A2 + 0x24]
0000286A A9D0 syscall TECalText
0000286C 486F 0008 pea.l [A7 + 0x8]
00002870 2F3C FFFD FFFD move.l -[A7], 0xFFFDFFFD
00002876 A8A9 syscall InsetRect
00002878 486F 0008 pea.l [A7 + 0x8]
0000287C A928 syscall InvalRect
0000287E 486F 0018 pea.l [A7 + 0x18]
00002882 2F3C FFFD FFFD move.l -[A7], 0xFFFDFFFD
00002888 A8A9 syscall InsetRect
0000288A 486F 0018 pea.l [A7 + 0x18]
0000288E A928 syscall InvalRect
00002890 302F 0008 move.w D0, [A7 + 0x8]
00002894 B06F 0018 cmp.w D0, [A7 + 0x18]
00002898 660A bne +0xC /* 000028A4 */
0000289A 302F 000A move.w D0, [A7 + 0xA]
0000289E B06F 001A cmp.w D0, [A7 + 0x1A]
000028A2 6730 beq +0x32 /* 000028D4 */
label000028A4:
000028A4 3F6F 000A 000E move.w [A7 + 0xE], [A7 + 0xA]
000028AA 302A 002C move.w D0, [A2 + 0x2C]
000028AE 48C0 ext.l D0
000028B0 5C80 addq.l D0, 6
000028B2 916F 000A sub.w [A7 + 0xA], D0
000028B6 486F 0008 pea.l [A7 + 0x8]
000028BA A928 syscall InvalRect
000028BC 3F6F 001A 001E move.w [A7 + 0x1E], [A7 + 0x1A]
000028C2 302A 002C move.w D0, [A2 + 0x2C]
000028C6 48C0 ext.l D0
000028C8 5C80 addq.l D0, 6
000028CA 916F 001A sub.w [A7 + 0x1A], D0
000028CE 486F 0018 pea.l [A7 + 0x18]
000028D2 A928 syscall InvalRect
label000028D4:
000028D4 4AAA 0004 tst.l [A2 + 0x4]
000028D8 6700 00B4 beq +0xB6 /* 0000298E */
000028DC 4AAA 0034 tst.l [A2 + 0x34]
000028E0 6700 00AC beq +0xAE /* 0000298E */
000028E4 286A 0004 movea.l A4, [A2 + 0x4]
000028E8 2854 movea.l A4, [A4]
000028EA 548C addq.l A4, 2
000028EC 4AAA 0024 tst.l [A2 + 0x24]
000028F0 6734 beq +0x36 /* 00002926 */
000028F2 266A 0024 movea.l A3, [A2 + 0x24]
000028F6 2653 movea.l A3, [A3]
000028F8 508B addq.l A3, 8
000028FA 302B 0006 move.w D0, [A3 + 0x6]
000028FE 48C0 ext.l D0
00002900 5E80 addq.l D0, 7
00002902 3F40 0012 move.w [A7 + 0x12], D0
00002906 48C0 ext.l D0
00002908 7217 moveq.l D1, 0x17
0000290A D081 add.l D0, D1
0000290C 3F40 0016 move.w [A7 + 0x16], D0
00002910 3013 move.w D0, [A3]
00002912 48C0 ext.l D0
00002914 5780 subq.l D0, 3
00002916 3F40 0010 move.w [A7 + 0x10], D0
0000291A 48C0 ext.l D0
0000291C 7216 moveq.l D1, 0x16
0000291E D081 add.l D0, D1
00002920 3F40 0014 move.w [A7 + 0x14], D0
00002924 6036 bra +0x38 /* 0000295C */
label00002926:
00002926 4A83 tst.l D3
00002928 6706 beq +0x8 /* 00002930 */
0000292A 3F44 0012 move.w [A7 + 0x12], D4
0000292E 600A bra +0xC /* 0000293A */
label00002930:
00002930 3F7C 0004 0012 move.w [A7 + 0x12], 0x4
00002936 0653 001A addi.w [A3], 0x1A
label0000293A:
0000293A 302F 0012 move.w D0, [A7 + 0x12]
0000293E 48C0 ext.l D0
00002940 7217 moveq.l D1, 0x17
00002942 D081 add.l D0, D1
00002944 3F40 0016 move.w [A7 + 0x16], D0
00002948 3013 move.w D0, [A3]
0000294A 48C0 ext.l D0
0000294C 5780 subq.l D0, 3
0000294E 3F40 0014 move.w [A7 + 0x14], D0
00002952 48C0 ext.l D0
00002954 72EA moveq.l D1, 0xFFFFFFEA
00002956 D081 add.l D0, D1
00002958 3F40 0010 move.w [A7 + 0x10], D0
label0000295C:
0000295C 554F subq.w A7, 2
0000295E 486F 0012 pea.l [A7 + 0x12]
00002962 2F0C move.l -[A7], A4
00002964 A8A6 syscall EqualRect
00002966 101F move.b D0, [A7]+
00002968 6624 bne +0x26 /* 0000298E */
0000296A 2F2A 0004 move.l -[A7], [A2 + 0x4]
0000296E A927 syscall InvalRgn
00002970 2F2A 0004 move.l -[A7], [A2 + 0x4]
00002974 A8D9 syscall DisposRgn/DisposeRgn
00002976 486F 0010 pea.l [A7 + 0x10]
0000297A 4EAD DCE8 jsr [A5 - 0x2318]
0000297E 2548 0004 move.l [A2 + 0x4], A0
00002982 2008 move.l D0, A0
00002984 584F addq.w A7, 4
00002986 6706 beq +0x8 /* 0000298E */
00002988 2F2A 0004 move.l -[A7], [A2 + 0x4]
0000298C A927 syscall InvalRgn
label0000298E:
0000298E 4FEF 0020 lea.l A7, [A7 + 0x20]
00002992 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00002996 4E75 rts
fn00002998:
00002998 2F0A move.l -[A7], A2
0000299A 4FEF FFF4 lea.l A7, [A7 - 0xC]
0000299E 246F 0014 movea.l A2, [A7 + 0x14]
000029A2 4227 clr.b -[A7]
000029A4 486F 0006 pea.l [A7 + 0x6]
000029A8 486F 000E pea.l [A7 + 0xE]
000029AC 2F2A 0048 move.l -[A7], [A2 + 0x48]
000029B0 4EBA 2D80 jsr [PC + 0x2D80 /* 00005732 */]
000029B4 7002 moveq.l D0, 0x02
000029B6 B0AF 0012 cmp.l D0, [A7 + 0x12]
000029BA 5DC0 slt D0
000029BC 4400 neg.b D0
000029BE 4880 ext.w D0
000029C0 48C0 ext.l D0
000029C2 2F40 000E move.l [A7 + 0xE], D0
000029C6 4FEF 000E lea.l A7, [A7 + 0xE]
000029CA 6018 bra +0x1A /* 000029E4 */
label000029CC:
000029CC 206F 0008 movea.l A0, [A7 + 0x8]
000029D0 0CA8 544F 5043 004C cmpi.l [A0 + 0x4C], 0x544F5043 /* 'TOPC' */
000029D8 660A bne +0xC /* 000029E4 */
000029DA 2F2F 0008 move.l -[A7], [A7 + 0x8]
000029DE 4EAD EA68 jsr [A5 - 0x1598]
000029E2 584F addq.w A7, 4
label000029E4:
000029E4 1F3C 0001 move.b -[A7], 0x1
000029E8 486F 0006 pea.l [A7 + 0x6]
000029EC 486F 000E pea.l [A7 + 0xE]
000029F0 2F2A 0048 move.l -[A7], [A2 + 0x48]
000029F4 4EBA 2D3C jsr [PC + 0x2D3C /* 00005732 */]
000029F8 4A80 tst.l D0
000029FA 4FEF 000E lea.l A7, [A7 + 0xE]
000029FE 66CC bne -0x32 /* 000029CC */
00002A00 1F3C 0002 move.b -[A7], 0x2
00002A04 486F 0006 pea.l [A7 + 0x6]
00002A08 486F 000E pea.l [A7 + 0xE]
00002A0C 2F2A 0048 move.l -[A7], [A2 + 0x48]
00002A10 4EBA 2D20 jsr [PC + 0x2D20 /* 00005732 */]
00002A14 4FEF 001A lea.l A7, [A7 + 0x1A]
00002A18 245F movea.l A2, [A7]+
00002A1A 4E75 rts
fn00002A1C:
00002A1C 48E7 0030 movem.l -[A7], A2,A3
00002A20 554F subq.w A7, 2
00002A22 246F 000E movea.l A2, [A7 + 0xE]
00002A26 266F 0012 movea.l A3, [A7 + 0x12]
00002A2A 4AAB 0030 tst.l [A3 + 0x30]
00002A2E 673C beq +0x3E /* 00002A6C */
00002A30 4857 pea.l [A7]
00002A32 2F0B move.l -[A7], A3
00002A34 2F0A move.l -[A7], A2
00002A36 4EBA FB08 jsr [PC - 0x4F8 /* 00002540 */]
00002A3A 486F 000C pea.l [A7 + 0xC]
00002A3E 2F0B move.l -[A7], A3
00002A40 2F0A move.l -[A7], A2
00002A42 4EBA FC2E jsr [PC - 0x3D2 /* 00002672 */]
00002A46 302F 0018 move.w D0, [A7 + 0x18]
00002A4A B06A 0044 cmp.w D0, [A2 + 0x44]
00002A4E 4FEF 0018 lea.l A7, [A7 + 0x18]
00002A52 6718 beq +0x1A /* 00002A6C */
00002A54 206A 0048 movea.l A0, [A2 + 0x48]
00002A58 4868 0010 pea.l [A0 + 0x10]
00002A5C A928 syscall InvalRect
00002A5E 3557 0044 move.w [A2 + 0x44], [A7]
00002A62 3F17 move.w -[A7], [A7]
00002A64 2F0A move.l -[A7], A2
00002A66 4EBA FF30 jsr [PC - 0xD0 /* 00002998 */]
00002A6A 5C4F addq.w A7, 6
label00002A6C:
00002A6C 544F addq.w A7, 2
00002A6E 4CDF 0C00 movem.l A2,A3, [A7]+
00002A72 4E75 rts
fn00002A74:
00002A74 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00002A78 286F 0018 movea.l A4, [A7 + 0x18]
00002A7C 2C6F 001C movea.l A6, [A7 + 0x1C]
00002A80 200C move.l D0, A4
00002A82 6756 beq +0x58 /* 00002ADA */
00002A84 2F0C move.l -[A7], A4
00002A86 4EAD DD80 jsr [A5 - 0x2280]
00002A8A 2448 movea.l A2, A0
00002A8C 200E move.l D0, A6
00002A8E 584F addq.w A7, 4
00002A90 670E beq +0x10 /* 00002AA0 */
00002A92 2F16 move.l -[A7], [A6]
00002A94 4EAD DA8A jsr [A5 - 0x2576]
00002A98 2648 movea.l A3, A0
00002A9A 2008 move.l D0, A0
00002A9C 584F addq.w A7, 4
00002A9E 6608 bne +0xA /* 00002AA8 */
label00002AA0:
00002AA0 91C8 sub.l A0, A0
00002AA2 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002AA6 4E75 rts
label00002AA8:
00002AA8 594F subq.w A7, 4
00002AAA 2F0C move.l -[A7], A4
00002AAC 4EAD D9AC jsr [A5 - 0x2654]
00002AB0 201F move.l D0, [A7]+
00002AB2 223C 0000 0112 move.l D1, 0x112
00002AB8 4EAD D8FE jsr [A5 - 0x2702]
00002ABC 2600 move.l D3, D0
00002ABE 6012 bra +0x14 /* 00002AD2 */
label00002AC0:
00002AC0 B7EA 0108 cmpa.l A3, [A2 + 0x108]
00002AC4 6608 bne +0xA /* 00002ACE */
00002AC6 204A movea.l A0, A2
00002AC8 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002ACC 4E75 rts
label00002ACE:
00002ACE 45EA 0112 lea.l A2, [A2 + 0x112]
label00002AD2:
00002AD2 2003 move.l D0, D3
00002AD4 5383 subq.l D3, 1
00002AD6 4A80 tst.l D0
00002AD8 66E6 bne -0x18 /* 00002AC0 */
label00002ADA:
00002ADA 91C8 sub.l A0, A0
00002ADC 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002AE0 4E75 rts
fn00002AE2:
00002AE2 48E7 0038 movem.l -[A7], A2,A3,A4
00002AE6 286F 0010 movea.l A4, [A7 + 0x10]
00002AEA 4227 clr.b -[A7]
00002AEC 2F2F 0016 move.l -[A7], [A7 + 0x16]
00002AF0 2F0C move.l -[A7], A4
00002AF2 4EBA 2B8C jsr [PC + 0x2B8C /* 00005680 */]
00002AF6 2648 movea.l A3, A0
00002AF8 2008 move.l D0, A0
00002AFA 4FEF 000A lea.l A7, [A7 + 0xA]
00002AFE 6754 beq +0x56 /* 00002B54 */
00002B00 206B 0050 movea.l A0, [A3 + 0x50]
00002B04 2450 movea.l A2, [A0]
00002B06 7000 moveq.l D0, 0x00
00002B08 102F 0018 move.b D0, [A7 + 0x18]
00002B0C 0C80 0000 0004 cmpi.l D0, 0x4
00002B12 6230 bhi +0x32 /* 00002B44 */
00002B14 D040 add.w D0, D0
00002B16 303B 0006 move.w D0, [PC + D0.w + 0x6]
00002B1A 4EFB 0002 jmp [PC + D0.w + 0x2]
00002B1E 000A 0010 ori.b A2, 0x10
00002B22 0016 001C ori.b [A6], 0x1C
00002B26 0022 42AA ori.b -[A2], 0xAA
00002B2A 0010 6016 ori.b [A0], 0x16
00002B2E 42AA 0014 clr.l [A2 + 0x14]
00002B32 6010 bra +0x12 /* 00002B44 */
00002B34 42AA 0018 clr.l [A2 + 0x18]
00002B38 600A bra +0xC /* 00002B44 */
00002B3A 42AA 001C clr.l [A2 + 0x1C]
00002B3E 6004 bra +0x6 /* 00002B44 */
00002B40 42AA 0020 clr.l [A2 + 0x20]
label00002B44:
00002B44 1F3C 0002 move.b -[A7], 0x2
00002B48 42A7 clr.l -[A7]
00002B4A 2F0C move.l -[A7], A4
00002B4C 4EBA 2B32 jsr [PC + 0x2B32 /* 00005680 */]
00002B50 4FEF 000A lea.l A7, [A7 + 0xA]
label00002B54:
00002B54 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002B58 4E75 rts
fn00002B5A:
00002B5A 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00002B5E 4FEF FFD6 lea.l A7, [A7 - 0x2A]
00002B62 266F 0046 movea.l A3, [A7 + 0x46]
00002B66 246F 004A movea.l A2, [A7 + 0x4A]
00002B6A 2F2B 0048 move.l -[A7], [A3 + 0x48]
00002B6E 4EAD EA08 jsr [A5 - 0x15F8]
00002B72 2C48 movea.l A6, A0
00002B74 4227 clr.b -[A7]
00002B76 2F2B 0048 move.l -[A7], [A3 + 0x48]
00002B7A 4EAD E9C8 jsr [A5 - 0x1638]
00002B7E 2848 movea.l A4, A0
00002B80 397C FFFF 002C move.w [A4 + 0x2C], 0xFFFF
00002B86 2F0C move.l -[A7], A4
00002B88 2F0E move.l -[A7], A6
00002B8A 2F0A move.l -[A7], A2
00002B8C 2F0B move.l -[A7], A3
00002B8E 4EBA F4DA jsr [PC - 0xB26 /* 0000206A */]
00002B92 4A80 tst.l D0
00002B94 4FEF 001A lea.l A7, [A7 + 0x1A]
00002B98 6600 00E2 bne +0xE4 /* 00002C7C */
00002B9C 206A 0024 movea.l A0, [A2 + 0x24]
00002BA0 2610 move.l D3, [A0]
00002BA2 2043 movea.l A0, D3
00002BA4 4A68 003C tst.w [A0 + 0x3C]
00002BA8 6700 00D2 beq +0xD4 /* 00002C7C */
00002BAC 3EAA 0038 move.w [A7], [A2 + 0x38]
00002BB0 486F 0002 pea.l [A7 + 0x2]
00002BB4 486F 0004 pea.l [A7 + 0x4]
00002BB8 2F28 003E move.l -[A7], [A0 + 0x3E]
00002BBC 42A7 clr.l -[A7]
00002BBE 4EBA E1CA jsr [PC - 0x1E36 /* 00000D8A */]
00002BC2 2C48 movea.l A6, A0
00002BC4 200E move.l D0, A6
00002BC6 4FEF 0010 lea.l A7, [A7 + 0x10]
00002BCA 6700 00B0 beq +0xB2 /* 00002C7C */
00002BCE 2F0E move.l -[A7], A6
00002BD0 4EAD DD80 jsr [A5 - 0x2280]
00002BD4 2808 move.l D4, A0
00002BD6 4AAF 0006 tst.l [A7 + 0x6]
00002BDA 584F addq.w A7, 4
00002BDC 670E beq +0x10 /* 00002BEC */
00002BDE 206A 0024 movea.l A0, [A2 + 0x24]
00002BE2 2050 movea.l A0, [A0]
00002BE4 3268 003C movea.w A1, [A0 + 0x3C]
00002BE8 2609 move.l D3, A1
00002BEA 6010 bra +0x12 /* 00002BFC */
label00002BEC:
00002BEC 2044 movea.l A0, D4
00002BEE 41E8 0008 lea.l A0, [A0 + 0x8]
00002BF2 70FF moveq.l D0, 0xFFFFFFFF
label00002BF4:
00002BF4 5280 addq.l D0, 1
00002BF6 4A18 tst.b [A0]+
00002BF8 66FA bne -0x4 /* 00002BF4 */
00002BFA 2600 move.l D3, D0
label00002BFC:
00002BFC 3957 002C move.w [A4 + 0x2C], [A7]
00002C00 4A92 tst.l [A2]
00002C02 6708 beq +0xA /* 00002C0C */
00002C04 2052 movea.l A0, [A2]
00002C06 2003 move.l D0, D3
00002C08 A024 syscall SetHandleSize
00002C0A 6006 bra +0x8 /* 00002C12 */
label00002C0C:
00002C0C 2003 move.l D0, D3
00002C0E A122 syscall NewHandle, flags=1
00002C10 2488 move.l [A2], A0
label00002C12:
00002C12 554F subq.w A7, 2
00002C14 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00002C18 301F move.w D0, [A7]+
00002C1A 6658 bne +0x5A /* 00002C74 */
00002C1C 41ED 8ABC lea.l A0, [A5 - 0x7544]
00002C20 43EF 0006 lea.l A1, [A7 + 0x6]
00002C24 7008 moveq.l D0, 0x08
label00002C26:
00002C26 22D8 move.l [A1]+, [A0]+
00002C28 51C8 FFFC dbf D0, -0x6 /* 00002C26 */
00002C2C 2816 move.l D4, [A6]
00002C2E 2044 movea.l A0, D4
00002C30 41E8 0008 lea.l A0, [A0 + 0x8]
00002C34 2252 movea.l A1, [A2]
00002C36 2251 movea.l A1, [A1]
00002C38 2003 move.l D0, D3
00002C3A A02E syscall BlockMove/BlockMoveData
00002C3C 2044 movea.l A0, D4
00002C3E 2F50 001A move.l [A7 + 0x1A], [A0]
00002C42 2F68 0004 001E move.l [A7 + 0x1E], [A0 + 0x4]
00002C48 002F 0040 0026 ori.b [A7 + 0x26], 0x40 /* '@' */
00002C4E 422F 0028 clr.b [A7 + 0x28]
00002C52 1F7C 0001 0027 move.b [A7 + 0x27], 0x1
00002C58 2F52 000E move.l [A7 + 0xE], [A2]
00002C5C 2F43 0022 move.l [A7 + 0x22], D3
00002C60 2F2F 0002 move.l -[A7], [A7 + 0x2]
00002C64 486F 000A pea.l [A7 + 0xA]
00002C68 2F2B 0048 move.l -[A7], [A3 + 0x48]
00002C6C 4EAD EA00 jsr [A5 - 0x1600]
00002C70 4FEF 000C lea.l A7, [A7 + 0xC]
label00002C74:
00002C74 2F0E move.l -[A7], A6
00002C76 4EAD DD88 jsr [A5 - 0x2278]
00002C7A 584F addq.w A7, 4
label00002C7C:
00002C7C 2F0C move.l -[A7], A4
00002C7E 2F0A move.l -[A7], A2
00002C80 2F0B move.l -[A7], A3
00002C82 4EBA EF28 jsr [PC - 0x10D8 /* 00001BAC */]
00002C86 1F3C 0001 move.b -[A7], 0x1
00002C8A 2F2B 0048 move.l -[A7], [A3 + 0x48]
00002C8E 4EAD E9C8 jsr [A5 - 0x1638]
00002C92 4FEF 003C lea.l A7, [A7 + 0x3C]
00002C96 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00002C9A 4E75 rts
fn00002C9C:
00002C9C 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002CA0 514F subq.w A7, 8
00002CA2 286F 001C movea.l A4, [A7 + 0x1C]
00002CA6 45ED B61A lea.l A2, [A5 - 0x49E6]
00002CAA 2654 movea.l A3, [A4]
00002CAC 602E bra +0x30 /* 00002CDC */
label00002CAE:
00002CAE 2052 movea.l A0, [A2]
00002CB0 70FF moveq.l D0, 0xFFFFFFFF
label00002CB2:
00002CB2 5280 addq.l D0, 1
00002CB4 4A18 tst.b [A0]+
00002CB6 66FA bne -0x4 /* 00002CB2 */
00002CB8 2600 move.l D3, D0
00002CBA 302B 003C move.w D0, [A3 + 0x3C]
00002CBE 48C0 ext.l D0
00002CC0 B083 cmp.l D0, D3
00002CC2 6616 bne +0x18 /* 00002CDA */
00002CC4 2F03 move.l -[A7], D3
00002CC6 206B 003E movea.l A0, [A3 + 0x3E]
00002CCA 2F10 move.l -[A7], [A0]
00002CCC 2F12 move.l -[A7], [A2]
00002CCE 4EAD D946 jsr [A5 - 0x26BA]
00002CD2 4A80 tst.l D0
00002CD4 4FEF 000C lea.l A7, [A7 + 0xC]
00002CD8 6706 beq +0x8 /* 00002CE0 */
label00002CDA:
00002CDA 508A addq.l A2, 8
label00002CDC:
00002CDC 4A92 tst.l [A2]
00002CDE 66CE bne -0x30 /* 00002CAE */
label00002CE0:
00002CE0 4AAA 0004 tst.l [A2 + 0x4]
00002CE4 673A beq +0x3C /* 00002D20 */
00002CE6 2EAB 0008 move.l [A7], [A3 + 0x8]
00002CEA 2F6B 000C 0004 move.l [A7 + 0x4], [A3 + 0xC]
00002CF0 2F2A 0004 move.l -[A7], [A2 + 0x4]
00002CF4 206A 0004 movea.l A0, [A2 + 0x4]
00002CF8 70FF moveq.l D0, 0xFFFFFFFF
label00002CFA:
00002CFA 5280 addq.l D0, 1
00002CFC 4A18 tst.b [A0]+
00002CFE 66FA bne -0x4 /* 00002CFA */
00002D00 2F00 move.l -[A7], D0
00002D02 2F0C move.l -[A7], A4
00002D04 A9CF syscall TESetText
00002D06 4857 pea.l [A7]
00002D08 2F0C move.l -[A7], A4
00002D0A A9D3 syscall TEUpdate
00002D0C 42A7 clr.l -[A7]
00002D0E 4878 7FFF push.l 0x7FFF
00002D12 2F0C move.l -[A7], A4
00002D14 A9D1 syscall TESetSelect
00002D16 7001 moveq.l D0, 0x01
00002D18 504F addq.w A7, 8
00002D1A 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002D1E 4E75 rts
label00002D20:
00002D20 7000 moveq.l D0, 0x00
00002D22 504F addq.w A7, 8
00002D24 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002D28 4E75 rts
fn00002D2A:
00002D2A 2F0A move.l -[A7], A2
00002D2C 4FEF FFF0 lea.l A7, [A7 - 0x10]
00002D30 246F 0018 movea.l A2, [A7 + 0x18]
00002D34 4AAD 8C2C tst.l [A5 - 0x73D4]
00002D38 6614 bne +0x16 /* 00002D4E */
00002D3A 2F2F 001C move.l -[A7], [A7 + 0x1C]
00002D3E 2F2A 0048 move.l -[A7], [A2 + 0x48]
00002D42 4EAD E3D8 jsr [A5 - 0x1C28]
00002D46 4FEF 0018 lea.l A7, [A7 + 0x18]
00002D4A 245F movea.l A2, [A7]+
00002D4C 4E75 rts
label00002D4E:
00002D4E 4AAA 0050 tst.l [A2 + 0x50]
00002D52 6748 beq +0x4A /* 00002D9C */
00002D54 206A 0050 movea.l A0, [A2 + 0x50]
00002D58 2050 movea.l A0, [A0]
00002D5A 2F68 0024 0008 move.l [A7 + 0x8], [A0 + 0x24]
00002D60 2F68 0028 000C move.l [A7 + 0xC], [A0 + 0x28]
00002D66 4AAF 0008 tst.l [A7 + 0x8]
00002D6A 6730 beq +0x32 /* 00002D9C */
00002D6C 206F 0008 movea.l A0, [A7 + 0x8]
00002D70 2050 movea.l A0, [A0]
00002D72 2EA8 0008 move.l [A7], [A0 + 0x8]
00002D76 2F68 000C 0004 move.l [A7 + 0x4], [A0 + 0xC]
00002D7C 4857 pea.l [A7]
00002D7E 4EAD DD50 jsr [A5 - 0x22B0]
00002D82 4AAF 0020 tst.l [A7 + 0x20]
00002D86 584F addq.w A7, 4
00002D88 6708 beq +0xA /* 00002D92 */
00002D8A 2F2F 0008 move.l -[A7], [A7 + 0x8]
00002D8E A9D8 syscall TEActivate
00002D90 6006 bra +0x8 /* 00002D98 */
label00002D92:
00002D92 2F2F 0008 move.l -[A7], [A7 + 0x8]
00002D96 A9D9 syscall TEDeactivate
label00002D98:
00002D98 4EAD DD58 jsr [A5 - 0x22A8]
label00002D9C:
00002D9C 4FEF 0010 lea.l A7, [A7 + 0x10]
00002DA0 245F movea.l A2, [A7]+
00002DA2 4E75 rts
fn00002DA4:
00002DA4 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00002DA8 286F 001C movea.l A4, [A7 + 0x1C]
00002DAC 382F 0020 move.w D4, [A7 + 0x20]
00002DB0 246C 0024 movea.l A2, [A4 + 0x24]
00002DB4 2452 movea.l A2, [A2]
00002DB6 508A addq.l A2, 8
00002DB8 266F 0018 movea.l A3, [A7 + 0x18]
00002DBC 266B 0048 movea.l A3, [A3 + 0x48]
00002DC0 508B addq.l A3, 8
00002DC2 508B addq.l A3, 8
00002DC4 362A 0002 move.w D3, [A2 + 0x2]
00002DC8 3612 move.w D3, [A2]
00002DCA 302C 002E move.w D0, [A4 + 0x2E]
00002DCE 48C0 ext.l D0
00002DD0 5680 addq.l D0, 3
00002DD2 9640 sub.w D3, D0
00002DD4 2F2F 0022 move.l -[A7], [A7 + 0x22]
00002DD8 3004 move.w D0, D4
00002DDA 48C0 ext.l D0
00002DDC 322B 0002 move.w D1, [A3 + 0x2]
00002DE0 48C1 ext.l D1
00002DE2 D280 add.l D1, D0
00002DE4 3F01 move.w -[A7], D1
00002DE6 3F03 move.w -[A7], D3
00002DE8 3004 move.w D0, D4
00002DEA 48C0 ext.l D0
00002DEC 322B 0006 move.w D1, [A3 + 0x6]
00002DF0 48C1 ext.l D1
00002DF2 9280 sub.l D1, D0
00002DF4 3F01 move.w -[A7], D1
00002DF6 302C 002E move.w D0, [A4 + 0x2E]
00002DFA 48C0 ext.l D0
00002DFC 3203 move.w D1, D3
00002DFE 48C1 ext.l D1
00002E00 D280 add.l D1, D0
00002E02 3F01 move.w -[A7], D1
00002E04 A8A7 syscall SetRect
00002E06 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00002E0A 4E75 rts
fn00002E0C:
00002E0C 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002E10 514F subq.w A7, 8
00002E12 246F 001C movea.l A2, [A7 + 0x1C]
00002E16 266F 0020 movea.l A3, [A7 + 0x20]
00002E1A 286F 0024 movea.l A4, [A7 + 0x24]
00002E1E 206A 0048 movea.l A0, [A2 + 0x48]
00002E22 3028 0012 move.w D0, [A0 + 0x12]
00002E26 48C0 ext.l D0
00002E28 206A 0048 movea.l A0, [A2 + 0x48]
00002E2C 3628 0016 move.w D3, [A0 + 0x16]
00002E30 48C3 ext.l D3
00002E32 9680 sub.l D3, D0
00002E34 377C 0004 002C move.w [A3 + 0x2C], 0x4
00002E3A 4EAD DD60 jsr [A5 - 0x22A0]
00002E3E 3F3C 0001 move.w -[A7], 0x1
00002E42 A887 syscall TextFont
00002E44 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00002E48 A88A syscall TextSize
00002E4A 4857 pea.l [A7]
00002E4C 42A7 clr.l -[A7]
00002E4E 3003 move.w D0, D3
00002E50 48C0 ext.l D0
00002E52 5180 subq.l D0, 8
00002E54 3F00 move.w -[A7], D0
00002E56 3F3C 03E8 move.w -[A7], 0x3E8
00002E5A A8A7 syscall SetRect
00002E5C 594F subq.w A7, 4
00002E5E 486F 0004 pea.l [A7 + 0x4]
00002E62 486F 0008 pea.l [A7 + 0x8]
00002E66 A9D2 syscall TENew
00002E68 205F movea.l A0, [A7]+
00002E6A 2448 movea.l A2, A0
00002E6C 200A move.l D0, A2
00002E6E 6722 beq +0x24 /* 00002E92 */
00002E70 486C 0001 pea.l [A4 + 0x1]
00002E74 7000 moveq.l D0, 0x00
00002E76 1014 move.b D0, [A4]
00002E78 2F00 move.l -[A7], D0
00002E7A 2F0A move.l -[A7], A2
00002E7C A9CF syscall TESetText
00002E7E 2852 movea.l A4, [A2]
00002E80 302C 005E move.w D0, [A4 + 0x5E]
00002E84 C1EC 0018 muls.w D0, [A4 + 0x18]
00002E88 3740 002E move.w [A3 + 0x2E], D0
00002E8C 2F0A move.l -[A7], A2
00002E8E A9CD syscall TEDispose
00002E90 600C bra +0xE /* 00002E9E */
label00002E92:
00002E92 42A7 clr.l -[A7]
00002E94 4EAD DD90 jsr [A5 - 0x2270]
00002E98 3740 002E move.w [A3 + 0x2E], D0
00002E9C 584F addq.w A7, 4
label00002E9E:
00002E9E 506B 002E addq.w [A3 + 0x2E], 8
00002EA2 4EAD DD68 jsr [A5 - 0x2298]
00002EA6 504F addq.w A7, 8
00002EA8 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002EAC 4E75 rts
00002EAE 48E7 003A movem.l -[A7], A2,A3,A4,A6
00002EB2 4FEF FFF2 lea.l A7, [A7 - 0xE]
00002EB6 246F 0022 movea.l A2, [A7 + 0x22]
00002EBA 206A 0050 movea.l A0, [A2 + 0x50]
00002EBE 2C50 movea.l A6, [A0]
00002EC0 594F subq.w A7, 4
00002EC2 302D 135E move.w D0, [A5 + 0x135E]
00002EC6 48C0 ext.l D0
00002EC8 0680 0000 0081 addi.l D0, 0x81
00002ECE 3F00 move.w -[A7], D0
00002ED0 A9BA syscall GetString
00002ED2 205F movea.l A0, [A7]+
00002ED4 2648 movea.l A3, A0
00002ED6 2F0B move.l -[A7], A3
00002ED8 4EAD DD80 jsr [A5 - 0x2280]
00002EDC 2848 movea.l A4, A0
00002EDE 3F3C 0001 move.w -[A7], 0x1
00002EE2 A887 syscall TextFont
00002EE4 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00002EE8 A88A syscall TextSize
00002EEA 4EAD DD70 jsr [A5 - 0x2290]
00002EEE 302F 0030 move.w D0, [A7 + 0x30]
00002EF2 48C0 ext.l D0
00002EF4 7202 moveq.l D1, 0x02
00002EF6 B081 cmp.l D0, D1
00002EF8 584F addq.w A7, 4
00002EFA 6F18 ble +0x1A /* 00002F14 */
00002EFC 3F7C DDDE 000C move.w [A7 + 0xC], 0xDDDE
00002F02 3F7C DDDE 000A move.w [A7 + 0xA], 0xDDDE
00002F08 3F7C DDDE 0008 move.w [A7 + 0x8], 0xDDDE
00002F0E 486F 0008 pea.l [A7 + 0x8]
00002F12 AA15 syscall RGBBackColor
label00002F14:
00002F14 4857 pea.l [A7]
00002F16 3F3C 0004 move.w -[A7], 0x4
00002F1A 2F0E move.l -[A7], A6
00002F1C 2F0A move.l -[A7], A2
00002F1E 4EBA FE84 jsr [PC - 0x17C /* 00002DA4 */]
00002F22 486C 0001 pea.l [A4 + 0x1]
00002F26 7000 moveq.l D0, 0x00
00002F28 1014 move.b D0, [A4]
00002F2A 2F00 move.l -[A7], D0
00002F2C 486F 0016 pea.l [A7 + 0x16]
00002F30 4267 clr.w -[A7]
00002F32 A9CE syscall TETextBox/TextBox
00002F34 4EAD DD78 jsr [A5 - 0x2288]
00002F38 2F0B move.l -[A7], A3
00002F3A 4EAD DD88 jsr [A5 - 0x2278]
00002F3E 4FEF 0020 lea.l A7, [A7 + 0x20]
00002F42 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
00002F46 205F movea.l A0, [A7]+
00002F48 4FEF 000C lea.l A7, [A7 + 0xC]
00002F4C 4ED0 jmp [A0]
00002F4E 4AAD 8D0A tst.l [A5 - 0x72F6]
00002F52 670E beq +0x10 /* 00002F62 */
00002F54 206D 8D0A movea.l A0, [A5 - 0x72F6]
00002F58 A023 syscall DisposHandle/DisposeHandle
00002F5A 42AD 8D0A clr.l [A5 - 0x72F6]
00002F5E 42AD 8D06 clr.l [A5 - 0x72FA]
label00002F62:
00002F62 4E75 rts
00002F64 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00002F68 2C6F 0018 movea.l A6, [A7 + 0x18]
00002F6C 286F 001C movea.l A4, [A7 + 0x1C]
00002F70 266F 0020 movea.l A3, [A7 + 0x20]
00002F74 4AAD 8D0A tst.l [A5 - 0x72F6]
00002F78 6608 bne +0xA /* 00002F82 */
00002F7A 7000 moveq.l D0, 0x00
00002F7C 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002F80 4E75 rts
label00002F82:
00002F82 206D 8D0A movea.l A0, [A5 - 0x72F6]
00002F86 2450 movea.l A2, [A0]
00002F88 7600 moveq.l D3, 0x00
00002F8A 6024 bra +0x26 /* 00002FB0 */
label00002F8C:
00002F8C 2F0E move.l -[A7], A6
00002F8E 2F0A move.l -[A7], A2
00002F90 4EAD DE70 jsr [A5 - 0x2190]
00002F94 4A80 tst.l D0
00002F96 504F addq.w A7, 8
00002F98 6710 beq +0x12 /* 00002FAA */
00002F9A 38AA 007E move.w [A4], [A2 + 0x7E]
00002F9E 36AA 007C move.w [A3], [A2 + 0x7C]
00002FA2 7001 moveq.l D0, 0x01
00002FA4 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002FA8 4E75 rts
label00002FAA:
00002FAA 5283 addq.l D3, 1
00002FAC 45EA 0080 lea.l A2, [A2 + 0x80]
label00002FB0:
00002FB0 B6AD 8D06 cmp.l D3, [A5 - 0x72FA]
00002FB4 6DD6 blt -0x28 /* 00002F8C */
00002FB6 7000 moveq.l D0, 0x00
00002FB8 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002FBC 4E75 rts
00002FBE 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00002FC2 4FEF FF70 lea.l A7, [A7 - 0x90]
00002FC6 246F 00A4 movea.l A2, [A7 + 0xA4]
00002FCA 3A2F 00A8 move.w D5, [A7 + 0xA8]
00002FCE 382F 00AA move.w D4, [A7 + 0xAA]
00002FD2 41ED 8C86 lea.l A0, [A5 - 0x737A]
00002FD6 43EF 0010 lea.l A1, [A7 + 0x10]
00002FDA 701F moveq.l D0, 0x1F
label00002FDC:
00002FDC 22D8 move.l [A1]+, [A0]+
00002FDE 51C8 FFFC dbf D0, -0x6 /* 00002FDC */
00002FE2 7000 moveq.l D0, 0x00
00002FE4 A122 syscall NewHandle, flags=1
00002FE6 2F48 0056 move.l [A7 + 0x56], A0
00002FEA 554F subq.w A7, 2
00002FEC 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00002FF0 301F move.w D0, [A7]+
00002FF2 3600 move.w D3, D0
00002FF4 6600 0104 bne +0x106 /* 000030FA */
00002FF8 3004 move.w D0, D4
00002FFA 48C0 ext.l D0
00002FFC 4A80 tst.l D0
00002FFE 6D14 blt +0x16 /* 00003014 */
00003000 486F 005C pea.l [A7 + 0x5C]
00003004 3F04 move.w -[A7], D4
00003006 4EAD E1E0 jsr [A5 - 0x1E20]
0000300A 3600 move.w D3, D0
0000300C 5C4F addq.w A7, 6
0000300E 671A beq +0x1C /* 0000302A */
00003010 6000 00E8 bra +0xEA /* 000030FA */
label00003014:
00003014 7078 moveq.l D0, 0x78
00003016 A122 syscall NewHandle, flags=1
00003018 2F48 005C move.l [A7 + 0x5C], A0
0000301C 554F subq.w A7, 2
0000301E 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00003022 301F move.w D0, [A7]+
00003024 3600 move.w D3, D0
00003026 6600 00D2 bne +0xD4 /* 000030FA */
label0000302A:
0000302A 7000 moveq.l D0, 0x00
0000302C A122 syscall NewHandle, flags=1
0000302E 2F48 0064 move.l [A7 + 0x64], A0
00003032 554F subq.w A7, 2
00003034 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00003038 301F move.w D0, [A7]+
0000303A 3600 move.w D3, D0
0000303C 6600 00BC bne +0xBE /* 000030FA */
00003040 7000 moveq.l D0, 0x00
00003042 A122 syscall NewHandle, flags=1
00003044 2F48 006C move.l [A7 + 0x6C], A0
00003048 554F subq.w A7, 2
0000304A 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000304E 301F move.w D0, [A7]+
00003050 3600 move.w D3, D0
00003052 6600 00A6 bne +0xA8 /* 000030FA */
00003056 7000 moveq.l D0, 0x00
00003058 A122 syscall NewHandle, flags=1
0000305A 2F48 0070 move.l [A7 + 0x70], A0
0000305E 554F subq.w A7, 2
00003060 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00003064 301F move.w D0, [A7]+
00003066 3600 move.w D3, D0
00003068 6600 0090 bne +0x92 /* 000030FA */
0000306C 554F subq.w A7, 2
0000306E 3F12 move.w -[A7], [A2]
00003070 2F2A 0002 move.l -[A7], [A2 + 0x2]
00003074 486A 0006 pea.l [A2 + 0x6]
00003078 486F 000C pea.l [A7 + 0xC]
0000307C 4EAD DA06 jsr [A5 - 0x25FA]
00003080 301F move.w D0, [A7]+
00003082 2F57 007C move.l [A7 + 0x7C], [A7]
00003086 4EAD E0D8 jsr [A5 - 0x1F28]
0000308A 2F48 0074 move.l [A7 + 0x74], A0
0000308E 4AAF 0074 tst.l [A7 + 0x74]
00003092 6604 bne +0x6 /* 00003098 */
00003094 7694 moveq.l D3, 0xFFFFFF94
00003096 6062 bra +0x64 /* 000030FA */
label00003098:
00003098 2F2F 007C move.l -[A7], [A7 + 0x7C]
0000309C 2F2F 0078 move.l -[A7], [A7 + 0x78]
000030A0 4EBA 0E60 jsr [PC + 0xE60 /* 00003F02 */]
000030A4 3600 move.w D3, D0
000030A6 4A43 tst.w D3
000030A8 504F addq.w A7, 8
000030AA 664E bne +0x50 /* 000030FA */
000030AC 41D2 lea.l A0, [A2]
000030AE 43EF 0010 lea.l A1, [A7 + 0x10]
000030B2 7010 moveq.l D0, 0x10
label000030B4:
000030B4 22D8 move.l [A1]+, [A0]+
000030B6 51C8 FFFC dbf D0, -0x6 /* 000030B4 */
000030BA 32D8 move.w [A1]+, [A0]+
000030BC 3F44 008C move.w [A7 + 0x8C], D4
000030C0 3F45 008E move.w [A7 + 0x8E], D5
000030C4 7001 moveq.l D0, 0x01
000030C6 2F40 0088 move.l [A7 + 0x88], D0
000030CA 4AAD 8D0A tst.l [A5 - 0x72F6]
000030CE 6714 beq +0x16 /* 000030E4 */
000030D0 41EF 0010 lea.l A0, [A7 + 0x10]
000030D4 226D 8D0A movea.l A1, [A5 - 0x72F6]
000030D8 203C 0000 0080 move.l D0, 0x80
000030DE A9EF syscall PtrAndHand
000030E0 3600 move.w D3, D0
000030E2 6016 bra +0x18 /* 000030FA */
label000030E4:
000030E4 554F subq.w A7, 2
000030E6 486F 0012 pea.l [A7 + 0x12]
000030EA 486D 8D0A pea.l [A5 - 0x72F6]
000030EE 4878 0080 push.l 0x80
000030F2 4EAD DA36 jsr [A5 - 0x25CA]
000030F6 301F move.w D0, [A7]+
000030F8 3600 move.w D3, D0
label000030FA:
000030FA 4A43 tst.w D3
000030FC 6606 bne +0x8 /* 00003104 */
000030FE 52AD 8D06 addq.l [A5 - 0x72FA], 1
00003102 604C bra +0x4E /* 00003150 */
label00003104:
00003104 4AAF 0056 tst.l [A7 + 0x56]
00003108 6706 beq +0x8 /* 00003110 */
0000310A 206F 0056 movea.l A0, [A7 + 0x56]
0000310E A023 syscall DisposHandle/DisposeHandle
label00003110:
00003110 4AAF 005C tst.l [A7 + 0x5C]
00003114 6706 beq +0x8 /* 0000311C */
00003116 206F 005C movea.l A0, [A7 + 0x5C]
0000311A A023 syscall DisposHandle/DisposeHandle
label0000311C:
0000311C 4AAF 0064 tst.l [A7 + 0x64]
00003120 6706 beq +0x8 /* 00003128 */
00003122 206F 0064 movea.l A0, [A7 + 0x64]
00003126 A023 syscall DisposHandle/DisposeHandle
label00003128:
00003128 4AAF 006C tst.l [A7 + 0x6C]
0000312C 6706 beq +0x8 /* 00003134 */
0000312E 206F 006C movea.l A0, [A7 + 0x6C]
00003132 A023 syscall DisposHandle/DisposeHandle
label00003134:
00003134 4AAF 0070 tst.l [A7 + 0x70]
00003138 6706 beq +0x8 /* 00003140 */
0000313A 206F 0070 movea.l A0, [A7 + 0x70]
0000313E A023 syscall DisposHandle/DisposeHandle
label00003140:
00003140 4AAF 0074 tst.l [A7 + 0x74]
00003144 670A beq +0xC /* 00003150 */
00003146 2F2F 0074 move.l -[A7], [A7 + 0x74]
0000314A 4EAD E0E0 jsr [A5 - 0x1F20]
0000314E 584F addq.w A7, 4
label00003150:
00003150 3003 move.w D0, D3
00003152 4FEF 0090 lea.l A7, [A7 + 0x90]
00003156 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
0000315A 4E75 rts
fn0000315C:
0000315C 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00003160 514F subq.w A7, 8
00003162 3C2F 0024 move.w D6, [A7 + 0x24]
00003166 486F 0004 pea.l [A7 + 0x4]
0000316A 3F06 move.w -[A7], D6
0000316C 4EBA 0B30 jsr [PC + 0xB30 /* 00003C9E */]
00003170 2A00 move.l D5, D0
00003172 4A80 tst.l D0
00003174 5C4F addq.w A7, 6
00003176 6D00 0240 blt +0x242 /* 000033B8 */
0000317A 2005 move.l D0, D5
0000317C EF88 lsl D0, 7
0000317E 2E80 move.l [A7], D0
00003180 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
00003184 4EAD DD80 jsr [A5 - 0x2280]
00003188 D1EF 0004 add.l A0, [A7 + 0x4]
0000318C 2648 movea.l A3, A0
0000318E 102B 004A move.b D0, [A3 + 0x4A]
00003192 7201 moveq.l D1, 0x01
00003194 C081 and.l D0, D1
00003196 584F addq.w A7, 4
00003198 6706 beq +0x8 /* 000031A0 */
0000319A 4267 clr.w -[A7]
0000319C 4EAD DF88 jsr [A5 - 0x2078]
label000031A0:
000031A0 4AAB 0046 tst.l [A3 + 0x46]
000031A4 675E beq +0x60 /* 00003204 */
000031A6 594F subq.w A7, 4
000031A8 2F2B 0046 move.l -[A7], [A3 + 0x46]
000031AC 4EAD D9AC jsr [A5 - 0x2654]
000031B0 201F move.l D0, [A7]+
000031B2 223C 0000 0112 move.l D1, 0x112
000031B8 4EAD D8FE jsr [A5 - 0x2702]
000031BC 2800 move.l D4, D0
000031BE 2F2B 0046 move.l -[A7], [A3 + 0x46]
000031C2 4EAD DD80 jsr [A5 - 0x2280]
000031C6 2448 movea.l A2, A0
000031C8 7600 moveq.l D3, 0x00
000031CA 584F addq.w A7, 4
000031CC 6022 bra +0x24 /* 000031F0 */
label000031CE:
000031CE 4AAA 0104 tst.l [A2 + 0x104]
000031D2 6706 beq +0x8 /* 000031DA */
000031D4 206A 0104 movea.l A0, [A2 + 0x104]
000031D8 A023 syscall DisposHandle/DisposeHandle
label000031DA:
000031DA 4AAA 0108 tst.l [A2 + 0x108]
000031DE 670A beq +0xC /* 000031EA */
000031E0 2F2A 0108 move.l -[A7], [A2 + 0x108]
000031E4 4EAD DA84 jsr [A5 - 0x257C]
000031E8 584F addq.w A7, 4
label000031EA:
000031EA 5283 addq.l D3, 1
000031EC 45EA 0112 lea.l A2, [A2 + 0x112]
label000031F0:
000031F0 B684 cmp.l D3, D4
000031F2 6DDA blt -0x24 /* 000031CE */
000031F4 2F2B 0046 move.l -[A7], [A3 + 0x46]
000031F8 4EAD DD88 jsr [A5 - 0x2278]
000031FC 206B 0046 movea.l A0, [A3 + 0x46]
00003200 A023 syscall DisposHandle/DisposeHandle
00003202 584F addq.w A7, 4
label00003204:
00003204 4AAB 004C tst.l [A3 + 0x4C]
00003208 6732 beq +0x34 /* 0000323C */
0000320A 302B 007C move.w D0, [A3 + 0x7C]
0000320E 48C0 ext.l D0
00003210 4A80 tst.l D0
00003212 6D22 blt +0x24 /* 00003236 */
00003214 2F2B 004C move.l -[A7], [A3 + 0x4C]
00003218 3F2B 007C move.w -[A7], [A3 + 0x7C]
0000321C 4EAD E1E8 jsr [A5 - 0x1E18]
00003220 3600 move.w D3, D0
00003222 4A43 tst.w D3
00003224 5C4F addq.w A7, 6
00003226 6714 beq +0x16 /* 0000323C */
00003228 3F03 move.w -[A7], D3
0000322A 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000322E 4EAD DE98 jsr [A5 - 0x2168]
00003232 584F addq.w A7, 4
00003234 6006 bra +0x8 /* 0000323C */
label00003236:
00003236 206B 004C movea.l A0, [A3 + 0x4C]
0000323A A023 syscall DisposHandle/DisposeHandle
label0000323C:
0000323C 4AAB 0054 tst.l [A3 + 0x54]
00003240 6720 beq +0x22 /* 00003262 */
00003242 4878 000C push.l 0xC
00003246 42A7 clr.l -[A7]
00003248 3F3C 0002 move.w -[A7], 0x2
0000324C 4878 0010 push.l 0x10
00003250 2F2B 0054 move.l -[A7], [A3 + 0x54]
00003254 4EAD DE18 jsr [A5 - 0x21E8]
00003258 206B 0054 movea.l A0, [A3 + 0x54]
0000325C A023 syscall DisposHandle/DisposeHandle
0000325E 4FEF 0012 lea.l A7, [A7 + 0x12]
label00003262:
00003262 2F0B move.l -[A7], A3
00003264 4EBA 0B52 jsr [PC + 0xB52 /* 00003DB8 */]
00003268 4AAB 0060 tst.l [A3 + 0x60]
0000326C 584F addq.w A7, 4
0000326E 671E beq +0x20 /* 0000328E */
00003270 4878 0004 push.l 0x4
00003274 3F3C 0001 move.w -[A7], 0x1
00003278 4878 0008 push.l 0x8
0000327C 2F2B 0060 move.l -[A7], [A3 + 0x60]
00003280 4EAD DE18 jsr [A5 - 0x21E8]
00003284 206B 0060 movea.l A0, [A3 + 0x60]
00003288 A023 syscall DisposHandle/DisposeHandle
0000328A 4FEF 000E lea.l A7, [A7 + 0xE]
label0000328E:
0000328E 4AAB 0064 tst.l [A3 + 0x64]
00003292 670A beq +0xC /* 0000329E */
00003294 2F2B 0064 move.l -[A7], [A3 + 0x64]
00003298 4EAD E0E0 jsr [A5 - 0x1F20]
0000329C 584F addq.w A7, 4
label0000329E:
0000329E 4AAB 0050 tst.l [A3 + 0x50]
000032A2 671E beq +0x20 /* 000032C2 */
000032A4 4878 0046 push.l 0x46 /* 'F' */
000032A8 3F3C 0001 move.w -[A7], 0x1
000032AC 4878 0056 push.l 0x56 /* 'V' */
000032B0 2F2B 0050 move.l -[A7], [A3 + 0x50]
000032B4 4EAD DE18 jsr [A5 - 0x21E8]
000032B8 206B 0050 movea.l A0, [A3 + 0x50]
000032BC A023 syscall DisposHandle/DisposeHandle
000032BE 4FEF 000E lea.l A7, [A7 + 0xE]
label000032C2:
000032C2 4AAB 0070 tst.l [A3 + 0x70]
000032C6 6762 beq +0x64 /* 0000332A */
000032C8 2F2B 0070 move.l -[A7], [A3 + 0x70]
000032CC 4EAD DD80 jsr [A5 - 0x2280]
000032D0 2448 movea.l A2, A0
000032D2 2F2B 0070 move.l -[A7], [A3 + 0x70]
000032D6 4EAD D9AC jsr [A5 - 0x2654]
000032DA 201F move.l D0, [A7]+
000032DC 7256 moveq.l D1, 0x56
000032DE 4EAD D8FE jsr [A5 - 0x2702]
000032E2 2800 move.l D4, D0
000032E4 7600 moveq.l D3, 0x00
000032E6 602E bra +0x30 /* 00003316 */
label000032E8:
000032E8 4AAA 004E tst.l [A2 + 0x4E]
000032EC 670A beq +0xC /* 000032F8 */
000032EE 2F2A 004E move.l -[A7], [A2 + 0x4E]
000032F2 4EBA 0C32 jsr [PC + 0xC32 /* 00003F26 */]
000032F6 584F addq.w A7, 4
label000032F8:
000032F8 4AAA 004A tst.l [A2 + 0x4A]
000032FC 6706 beq +0x8 /* 00003304 */
000032FE 2F2A 004A move.l -[A7], [A2 + 0x4A]
00003302 AA24 syscall DisposeCTable/DisposCTable
label00003304:
00003304 4AAA 0046 tst.l [A2 + 0x46]
00003308 6706 beq +0x8 /* 00003310 */
0000330A 2F2A 0046 move.l -[A7], [A2 + 0x46]
0000330E A8F5 syscall KillPicture
label00003310:
00003310 5283 addq.l D3, 1
00003312 7056 moveq.l D0, 0x56
00003314 D5C0 add.l A2, D0
label00003316:
00003316 B684 cmp.l D3, D4
00003318 6DCE blt -0x30 /* 000032E8 */
0000331A 2F2B 0070 move.l -[A7], [A3 + 0x70]
0000331E 4EAD DD88 jsr [A5 - 0x2278]
00003322 206B 0070 movea.l A0, [A3 + 0x70]
00003326 A023 syscall DisposHandle/DisposeHandle
00003328 584F addq.w A7, 4
label0000332A:
0000332A 4AAB 0074 tst.l [A3 + 0x74]
0000332E 6740 beq +0x42 /* 00003370 */
00003330 2F2B 0074 move.l -[A7], [A3 + 0x74]
00003334 4EAD DD80 jsr [A5 - 0x2280]
00003338 2448 movea.l A2, A0
0000333A 2F2B 0074 move.l -[A7], [A3 + 0x74]
0000333E 4EAD D9AC jsr [A5 - 0x2654]
00003342 201F move.l D0, [A7]+
00003344 E688 lsr D0, 3
00003346 2800 move.l D4, D0
00003348 7600 moveq.l D3, 0x00
0000334A 6010 bra +0x12 /* 0000335C */
label0000334C:
0000334C 4A92 tst.l [A2]
0000334E 6708 beq +0xA /* 00003358 */
00003350 2F12 move.l -[A7], [A2]
00003352 4EBA 0BD2 jsr [PC + 0xBD2 /* 00003F26 */]
00003356 584F addq.w A7, 4
label00003358:
00003358 5283 addq.l D3, 1
0000335A 508A addq.l A2, 8
label0000335C:
0000335C B684 cmp.l D3, D4
0000335E 6DEC blt -0x12 /* 0000334C */
00003360 2F2B 0074 move.l -[A7], [A3 + 0x74]
00003364 4EAD DD88 jsr [A5 - 0x2278]
00003368 206B 0074 movea.l A0, [A3 + 0x74]
0000336C A023 syscall DisposHandle/DisposeHandle
0000336E 584F addq.w A7, 4
label00003370:
00003370 4AAD B2D8 tst.l [A5 - 0x4D28]
00003374 670E beq +0x10 /* 00003384 */
00003376 3F2B 007C move.w -[A7], [A3 + 0x7C]
0000337A A99A syscall CloseResFile
0000337C 3F06 move.w -[A7], D6
0000337E 4EAD DAFC jsr [A5 - 0x2504]
00003382 544F addq.w A7, 2
label00003384:
00003384 53AF 0004 subq.l [A7 + 0x4], 1
00003388 BAAF 0004 cmp.l D5, [A7 + 0x4]
0000338C 6C10 bge +0x12 /* 0000339E */
0000338E 41EB 0080 lea.l A0, [A3 + 0x80]
00003392 224B movea.l A1, A3
00003394 202F 0004 move.l D0, [A7 + 0x4]
00003398 9085 sub.l D0, D5
0000339A EF88 lsl D0, 7
0000339C A02E syscall BlockMove/BlockMoveData
label0000339E:
0000339E 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
000033A2 4EAD DD88 jsr [A5 - 0x2278]
000033A6 206D 8D0A movea.l A0, [A5 - 0x72F6]
000033AA 202F 0008 move.l D0, [A7 + 0x8]
000033AE EF88 lsl D0, 7
000033B0 A024 syscall SetHandleSize
000033B2 53AD 8D06 subq.l [A5 - 0x72FA], 1
000033B6 584F addq.w A7, 4
label000033B8:
000033B8 504F addq.w A7, 8
000033BA 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
000033BE 4E75 rts
fn000033C0:
000033C0 48E7 1020 movem.l -[A7], D3,A2
000033C4 42A7 clr.l -[A7]
000033C6 3F2F 0010 move.w -[A7], [A7 + 0x10]
000033CA 4EBA 08D2 jsr [PC + 0x8D2 /* 00003C9E */]
000033CE 2600 move.l D3, D0
000033D0 4A83 tst.l D3
000033D2 5C4F addq.w A7, 6
000033D4 6D00 00B4 blt +0xB6 /* 0000348A */
000033D8 2003 move.l D0, D3
000033DA EF88 lsl D0, 7
000033DC 246D 8D0A movea.l A2, [A5 - 0x72F6]
000033E0 2452 movea.l A2, [A2]
000033E2 D5C0 add.l A2, D0
000033E4 7000 moveq.l D0, 0x00
000033E6 102F 000E move.b D0, [A7 + 0xE]
000033EA 0C80 0000 000A cmpi.l D0, 0xA /* '\n' */
000033F0 6200 0098 bhi +0x9A /* 0000348A */
000033F4 D040 add.w D0, D0
000033F6 303B 0006 move.w D0, [PC + D0.w + 0x6]
000033FA 4EFB 0002 jmp [PC + D0.w + 0x2]
000033FE 0016 0020 ori.b [A6], 0x20 /* ' ' */
00003402 008C 0036 0040 ori.l A4, 0x360040 /* '6\0@' */
00003408 004C 0056 ori.w A4, 0x56 /* 'V' */
0000340C 0060 006C ori.w -[A0], 0x6C /* 'l' */
00003410 0076 0082 206A ori.w [A6 + D2.w + 0x6A], 0x82
00003416 0046 4CDF ori.w D6, 0x4CDF
0000341A 0408 4E75 subi.b A0, 0x75 /* 'u' */
0000341E 4AAD B2D8 tst.l [A5 - 0x4D28]
00003422 6606 bne +0x8 /* 0000342A */
00003424 206A 004C movea.l A0, [A2 + 0x4C]
00003428 6004 bra +0x6 /* 0000342E */
label0000342A:
0000342A 4EAD FF60 jsr [A5 - 0xA0]
label0000342E:
0000342E 4CDF 0408 movem.l D3,A2, [A7]+
00003432 4E75 rts
00003434 206A 0054 movea.l A0, [A2 + 0x54]
00003438 4CDF 0408 movem.l D3,A2, [A7]+
0000343C 4E75 rts
0000343E 204A movea.l A0, A2
00003440 41E8 0058 lea.l A0, [A0 + 0x58]
00003444 4CDF 0408 movem.l D3,A2, [A7]+
00003448 4E75 rts
0000344A 206A 005C movea.l A0, [A2 + 0x5C]
0000344E 4CDF 0408 movem.l D3,A2, [A7]+
00003452 4E75 rts
00003454 206A 0060 movea.l A0, [A2 + 0x60]
00003458 4CDF 0408 movem.l D3,A2, [A7]+
0000345C 4E75 rts
0000345E 204A movea.l A0, A2
00003460 41E8 0068 lea.l A0, [A0 + 0x68]
00003464 4CDF 0408 movem.l D3,A2, [A7]+
00003468 4E75 rts
0000346A 206A 0064 movea.l A0, [A2 + 0x64]
0000346E 4CDF 0408 movem.l D3,A2, [A7]+
00003472 4E75 rts
00003474 204A movea.l A0, A2
00003476 41E8 0078 lea.l A0, [A0 + 0x78]
0000347A 4CDF 0408 movem.l D3,A2, [A7]+
0000347E 4E75 rts
00003480 206A 006C movea.l A0, [A2 + 0x6C]
00003484 4CDF 0408 movem.l D3,A2, [A7]+
00003488 4E75 rts
label0000348A:
0000348A 91C8 sub.l A0, A0
0000348C 4CDF 0408 movem.l D3,A2, [A7]+
00003490 4E75 rts
fn00003492:
00003492 2F03 move.l -[A7], D3
00003494 594F subq.w A7, 4
00003496 42A7 clr.l -[A7]
00003498 3F2F 0010 move.w -[A7], [A7 + 0x10]
0000349C 4EBA 0800 jsr [PC + 0x800 /* 00003C9E */]
000034A0 2600 move.l D3, D0
000034A2 4A83 tst.l D3
000034A4 5C4F addq.w A7, 6
000034A6 6D16 blt +0x18 /* 000034BE */
000034A8 2003 move.l D0, D3
000034AA EF88 lsl D0, 7
000034AC 206D 8D0A movea.l A0, [A5 - 0x72F6]
000034B0 2050 movea.l A0, [A0]
000034B2 D1C0 add.l A0, D0
000034B4 2E88 move.l [A7], A0
000034B6 102F 000E move.b D0, [A7 + 0xE]
000034BA 8128 004A or.b [A0 + 0x4A], D0
label000034BE:
000034BE 584F addq.w A7, 4
000034C0 261F move.l D3, [A7]+
000034C2 4E75 rts
fn000034C4:
000034C4 2F03 move.l -[A7], D3
000034C6 594F subq.w A7, 4
000034C8 42A7 clr.l -[A7]
000034CA 3F2F 0010 move.w -[A7], [A7 + 0x10]
000034CE 4EBA 07CE jsr [PC + 0x7CE /* 00003C9E */]
000034D2 2600 move.l D3, D0
000034D4 4A83 tst.l D3
000034D6 5C4F addq.w A7, 6
000034D8 6D18 blt +0x1A /* 000034F2 */
000034DA 2003 move.l D0, D3
000034DC EF88 lsl D0, 7
000034DE 206D 8D0A movea.l A0, [A5 - 0x72F6]
000034E2 2050 movea.l A0, [A0]
000034E4 D1C0 add.l A0, D0
000034E6 2E88 move.l [A7], A0
000034E8 1028 004A move.b D0, [A0 + 0x4A]
000034EC 584F addq.w A7, 4
000034EE 261F move.l D3, [A7]+
000034F0 4E75 rts
label000034F2:
000034F2 7000 moveq.l D0, 0x00
000034F4 584F addq.w A7, 4
000034F6 261F move.l D3, [A7]+
000034F8 4E75 rts
000034FA 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
000034FE 4FEF FFAA lea.l A7, [A7 - 0x56]
00003502 42A7 clr.l -[A7]
00003504 3F2F 007A move.w -[A7], [A7 + 0x7A]
00003508 4EBA 0794 jsr [PC + 0x794 /* 00003C9E */]
0000350C 2800 move.l D4, D0
0000350E 42A7 clr.l -[A7]
00003510 3F2F 0082 move.w -[A7], [A7 + 0x82]
00003514 4EBA 0788 jsr [PC + 0x788 /* 00003C9E */]
00003518 2C00 move.l D6, D0
0000351A 7600 moveq.l D3, 0x00
0000351C 4A84 tst.l D4
0000351E 4FEF 000C lea.l A7, [A7 + 0xC]
00003522 6D04 blt +0x6 /* 00003528 */
00003524 4A86 tst.l D6
00003526 6C0A bge +0xC /* 00003532 */
label00003528:
00003528 4FEF 0056 lea.l A7, [A7 + 0x56]
0000352C 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00003530 4E75 rts
label00003532:
00003532 2004 move.l D0, D4
00003534 EF88 lsl D0, 7
00003536 206D 8D0A movea.l A0, [A5 - 0x72F6]
0000353A 2250 movea.l A1, [A0]
0000353C 2871 0850 movea.l A4, [A1 + D0 + 0x50]
00003540 200C move.l D0, A4
00003542 6700 00EA beq +0xEC /* 0000362E */
00003546 594F subq.w A7, 4
00003548 2F0C move.l -[A7], A4
0000354A 4EAD D9AC jsr [A5 - 0x2654]
0000354E 201F move.l D0, [A7]+
00003550 7256 moveq.l D1, 0x56
00003552 4EAD D8FE jsr [A5 - 0x2702]
00003556 2A00 move.l D5, D0
00003558 4A85 tst.l D5
0000355A 6700 00D2 beq +0xD4 /* 0000362E */
0000355E 2006 move.l D0, D6
00003560 EF88 lsl D0, 7
00003562 266D 8D0A movea.l A3, [A5 - 0x72F6]
00003566 2653 movea.l A3, [A3]
00003568 D7C0 add.l A3, D0
0000356A 246B 0050 movea.l A2, [A3 + 0x50]
0000356E 200A move.l D0, A2
00003570 6714 beq +0x16 /* 00003586 */
00003572 594F subq.w A7, 4
00003574 2F0A move.l -[A7], A2
00003576 4EAD D9AC jsr [A5 - 0x2654]
0000357A 201F move.l D0, [A7]+
0000357C 7256 moveq.l D1, 0x56
0000357E 4EAD D8FE jsr [A5 - 0x2702]
00003582 2800 move.l D4, D0
00003584 6020 bra +0x22 /* 000035A6 */
label00003586:
00003586 7800 moveq.l D4, 0x00
00003588 7000 moveq.l D0, 0x00
0000358A A122 syscall NewHandle, flags=1
0000358C 2448 movea.l A2, A0
0000358E 554F subq.w A7, 2
00003590 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00003594 301F move.w D0, [A7]+
00003596 3600 move.w D3, D0
00003598 2006 move.l D0, D6
0000359A EF88 lsl D0, 7
0000359C 206D 8D0A movea.l A0, [A5 - 0x72F6]
000035A0 2250 movea.l A1, [A0]
000035A2 238A 0850 move.l [A1 + D0 + 0x50], A2
label000035A6:
000035A6 2005 move.l D0, D5
000035A8 D084 add.l D0, D4
000035AA 7256 moveq.l D1, 0x56
000035AC 4EAD D8F8 jsr [A5 - 0x2708]
000035B0 204A movea.l A0, A2
000035B2 A024 syscall SetHandleSize
000035B4 554F subq.w A7, 2
000035B6 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000035BA 301F move.w D0, [A7]+
000035BC 3600 move.w D3, D0
000035BE 4A43 tst.w D3
000035C0 665C bne +0x5E /* 0000361E */
000035C2 2F0C move.l -[A7], A4
000035C4 4EAD DD80 jsr [A5 - 0x2280]
000035C8 2648 movea.l A3, A0
000035CA 584F addq.w A7, 4
000035CC 6040 bra +0x42 /* 0000360E */
label000035CE:
000035CE 204B movea.l A0, A3
000035D0 7056 moveq.l D0, 0x56
000035D2 D7C0 add.l A3, D0
000035D4 43D7 lea.l A1, [A7]
000035D6 7014 moveq.l D0, 0x14
label000035D8:
000035D8 22D8 move.l [A1]+, [A0]+
000035DA 51C8 FFFC dbf D0, -0x6 /* 000035D8 */
000035DE 32D8 move.w [A1]+, [A0]+
000035E0 554F subq.w A7, 2
000035E2 486F 0048 pea.l [A7 + 0x48]
000035E6 4EAD DA30 jsr [A5 - 0x25D0]
000035EA 301F move.w D0, [A7]+
000035EC 3600 move.w D3, D0
000035EE 4A43 tst.w D3
000035F0 6624 bne +0x26 /* 00003616 */
000035F2 486D E740 pea.l [A5 - 0x18C0]
000035F6 4878 0056 push.l 0x56 /* 'V' */
000035FA 2004 move.l D0, D4
000035FC 5284 addq.l D4, 1
000035FE 2F00 move.l -[A7], D0
00003600 2F12 move.l -[A7], [A2]
00003602 486F 0010 pea.l [A7 + 0x10]
00003606 4EBA CA00 jsr [PC - 0x3600 /* 00000008 */]
0000360A 4FEF 0014 lea.l A7, [A7 + 0x14]
label0000360E:
0000360E 2005 move.l D0, D5
00003610 5385 subq.l D5, 1
00003612 4A80 tst.l D0
00003614 66B8 bne -0x46 /* 000035CE */
label00003616:
00003616 2F0C move.l -[A7], A4
00003618 4EAD DD88 jsr [A5 - 0x2278]
0000361C 584F addq.w A7, 4
label0000361E:
0000361E 4A43 tst.w D3
00003620 670C beq +0xE /* 0000362E */
00003622 3F03 move.w -[A7], D3
00003624 3F3C 0002 move.w -[A7], 0x2
00003628 4EAD DE98 jsr [A5 - 0x2168]
0000362C 584F addq.w A7, 4
label0000362E:
0000362E 4FEF 0056 lea.l A7, [A7 + 0x56]
00003632 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00003636 4E75 rts
fn00003638:
00003638 48E7 1830 movem.l -[A7], D3,D4,A2,A3
0000363C 4FEF FFA6 lea.l A7, [A7 - 0x5A]
00003640 266F 0070 movea.l A3, [A7 + 0x70]
00003644 42A7 clr.l -[A7]
00003646 3F2F 0072 move.w -[A7], [A7 + 0x72]
0000364A 4EBA 0652 jsr [PC + 0x652 /* 00003C9E */]
0000364E 2600 move.l D3, D0
00003650 4A83 tst.l D3
00003652 5C4F addq.w A7, 6
00003654 6D00 012A blt +0x12C /* 00003780 */
00003658 2003 move.l D0, D3
0000365A EF88 lsl D0, 7
0000365C 2E80 move.l [A7], D0
0000365E 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
00003662 4EAD DD80 jsr [A5 - 0x2280]
00003666 D1EF 0004 add.l A0, [A7 + 0x4]
0000366A 2448 movea.l A2, A0
0000366C 42AF 004E clr.l [A7 + 0x4E]
00003670 41D2 lea.l A0, [A2]
00003672 43EF 0008 lea.l A1, [A7 + 0x8]
00003676 7010 moveq.l D0, 0x10
label00003678:
00003678 22D8 move.l [A1]+, [A0]+
0000367A 51C8 FFFC dbf D0, -0x6 /* 00003678 */
0000367E 32D8 move.w [A1]+, [A0]+
00003680 2F6F 0078 0052 move.l [A7 + 0x52], [A7 + 0x78]
00003686 2F6F 007C 0056 move.l [A7 + 0x56], [A7 + 0x7C]
0000368C 2F6F 0080 005A move.l [A7 + 0x5A], [A7 + 0x80]
00003692 7800 moveq.l D4, 0x00
00003694 2F0B move.l -[A7], A3
00003696 486F 0052 pea.l [A7 + 0x52]
0000369A 204B movea.l A0, A3
0000369C 70FF moveq.l D0, 0xFFFFFFFF
label0000369E:
0000369E 5280 addq.l D0, 1
000036A0 4A18 tst.b [A0]+
000036A2 66FA bne -0x4 /* 0000369E */
000036A4 5280 addq.l D0, 1
000036A6 2F00 move.l -[A7], D0
000036A8 4EAD DA36 jsr [A5 - 0x25CA]
000036AC 301F move.w D0, [A7]+
000036AE 3800 move.w D4, D0
000036B0 544F addq.w A7, 2
000036B2 6600 00A6 bne +0xA8 /* 0000375A */
000036B6 4AAA 0050 tst.l [A2 + 0x50]
000036BA 6700 0088 beq +0x8A /* 00003744 */
000036BE 594F subq.w A7, 4
000036C0 2F2A 0050 move.l -[A7], [A2 + 0x50]
000036C4 4EAD D9AC jsr [A5 - 0x2654]
000036C8 201F move.l D0, [A7]+
000036CA 2600 move.l D3, D0
000036CC 486D E740 pea.l [A5 - 0x18C0]
000036D0 4878 0056 push.l 0x56 /* 'V' */
000036D4 2003 move.l D0, D3
000036D6 7256 moveq.l D1, 0x56
000036D8 4EAD D8FE jsr [A5 - 0x2702]
000036DC 2F00 move.l -[A7], D0
000036DE 206A 0050 movea.l A0, [A2 + 0x50]
000036E2 2F10 move.l -[A7], [A0]
000036E4 486F 0014 pea.l [A7 + 0x14]
000036E8 4EAD D928 jsr [A5 - 0x26D8]
000036EC 2648 movea.l A3, A0
000036EE 200B move.l D0, A3
000036F0 4FEF 0014 lea.l A7, [A7 + 0x14]
000036F4 6712 beq +0x14 /* 00003708 */
000036F6 41EF 0004 lea.l A0, [A7 + 0x4]
000036FA 43D3 lea.l A1, [A3]
000036FC 7014 moveq.l D0, 0x14
label000036FE:
000036FE 22D8 move.l [A1]+, [A0]+
00003700 51C8 FFFC dbf D0, -0x6 /* 000036FE */
00003704 32D8 move.w [A1]+, [A0]+
00003706 6052 bra +0x54 /* 0000375A */
label00003708:
00003708 206A 0050 movea.l A0, [A2 + 0x50]
0000370C 7056 moveq.l D0, 0x56
0000370E D083 add.l D0, D3
00003710 A024 syscall SetHandleSize
00003712 554F subq.w A7, 2
00003714 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00003718 301F move.w D0, [A7]+
0000371A 3800 move.w D4, D0
0000371C 663C bne +0x3E /* 0000375A */
0000371E 486D E740 pea.l [A5 - 0x18C0]
00003722 4878 0056 push.l 0x56 /* 'V' */
00003726 2003 move.l D0, D3
00003728 7256 moveq.l D1, 0x56
0000372A 4EAD D8FE jsr [A5 - 0x2702]
0000372E 2F00 move.l -[A7], D0
00003730 206A 0050 movea.l A0, [A2 + 0x50]
00003734 2F10 move.l -[A7], [A0]
00003736 486F 0014 pea.l [A7 + 0x14]
0000373A 4EBA C8CC jsr [PC - 0x3734 /* 00000008 */]
0000373E 4FEF 0014 lea.l A7, [A7 + 0x14]
00003742 6016 bra +0x18 /* 0000375A */
label00003744:
00003744 554F subq.w A7, 2
00003746 486F 0006 pea.l [A7 + 0x6]
0000374A 486A 0050 pea.l [A2 + 0x50]
0000374E 4878 0056 push.l 0x56 /* 'V' */
00003752 4EAD DA36 jsr [A5 - 0x25CA]
00003756 301F move.w D0, [A7]+
00003758 3800 move.w D4, D0
label0000375A:
0000375A 4A44 tst.w D4
0000375C 6718 beq +0x1A /* 00003776 */
0000375E 4AAF 004A tst.l [A7 + 0x4A]
00003762 6706 beq +0x8 /* 0000376A */
00003764 206F 004A movea.l A0, [A7 + 0x4A]
00003768 A023 syscall DisposHandle/DisposeHandle
label0000376A:
0000376A 3F04 move.w -[A7], D4
0000376C 3F3C 0002 move.w -[A7], 0x2
00003770 4EAD DE98 jsr [A5 - 0x2168]
00003774 584F addq.w A7, 4
label00003776:
00003776 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
0000377A 4EAD DD88 jsr [A5 - 0x2278]
0000377E 584F addq.w A7, 4
label00003780:
00003780 4FEF 005A lea.l A7, [A7 + 0x5A]
00003784 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00003788 4E75 rts
0000378A 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
0000378E 4FEF FFAA lea.l A7, [A7 - 0x56]
00003792 246F 0080 movea.l A2, [A7 + 0x80]
00003796 2C2F 0088 move.l D6, [A7 + 0x88]
0000379A 2A2F 008C move.l D5, [A7 + 0x8C]
0000379E 282F 0090 move.l D4, [A7 + 0x90]
000037A2 2C6F 0094 movea.l A6, [A7 + 0x94]
000037A6 42A7 clr.l -[A7]
000037A8 3F2F 0082 move.w -[A7], [A7 + 0x82]
000037AC 4EBA 04F0 jsr [PC + 0x4F0 /* 00003C9E */]
000037B0 2600 move.l D3, D0
000037B2 7E00 moveq.l D7, 0x00
000037B4 4A83 tst.l D3
000037B6 5C4F addq.w A7, 6
000037B8 6C0C bge +0xE /* 000037C6 */
000037BA 7000 moveq.l D0, 0x00
000037BC 4FEF 0056 lea.l A7, [A7 + 0x56]
000037C0 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000037C4 4E75 rts
label000037C6:
000037C6 554F subq.w A7, 2
000037C8 2F0A move.l -[A7], A2
000037CA 486F 004C pea.l [A7 + 0x4C]
000037CE 204A movea.l A0, A2
000037D0 70FF moveq.l D0, 0xFFFFFFFF
label000037D2:
000037D2 5280 addq.l D0, 1
000037D4 4A18 tst.b [A0]+
000037D6 66FA bne -0x4 /* 000037D2 */
000037D8 5280 addq.l D0, 1
000037DA 2F00 move.l -[A7], D0
000037DC 4EAD DA36 jsr [A5 - 0x25CA]
000037E0 301F move.w D0, [A7]+
000037E2 670C beq +0xE /* 000037F0 */
000037E4 7000 moveq.l D0, 0x00
000037E6 4FEF 0056 lea.l A7, [A7 + 0x56]
000037EA 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000037EE 4E75 rts
label000037F0:
000037F0 2003 move.l D0, D3
000037F2 EF88 lsl D0, 7
000037F4 266D 8D0A movea.l A3, [A5 - 0x72F6]
000037F8 2653 movea.l A3, [A3]
000037FA D7C0 add.l A3, D0
000037FC 4AAB 0050 tst.l [A3 + 0x50]
00003800 6700 009C beq +0x9E /* 0000389E */
00003804 206B 0050 movea.l A0, [A3 + 0x50]
00003808 2850 movea.l A4, [A0]
0000380A 594F subq.w A7, 4
0000380C 2F2B 0050 move.l -[A7], [A3 + 0x50]
00003810 4EAD D9AC jsr [A5 - 0x2654]
00003814 201F move.l D0, [A7]+
00003816 2600 move.l D3, D0
00003818 486D E740 pea.l [A5 - 0x18C0]
0000381C 4878 0056 push.l 0x56 /* 'V' */
00003820 2003 move.l D0, D3
00003822 7256 moveq.l D1, 0x56
00003824 4EAD D8FE jsr [A5 - 0x2702]
00003828 2F00 move.l -[A7], D0
0000382A 2F0C move.l -[A7], A4
0000382C 486F 0010 pea.l [A7 + 0x10]
00003830 4EAD D928 jsr [A5 - 0x26D8]
00003834 2448 movea.l A2, A0
00003836 200A move.l D0, A2
00003838 4FEF 0014 lea.l A7, [A7 + 0x14]
0000383C 6760 beq +0x62 /* 0000389E */
0000383E 7E01 moveq.l D7, 0x01
00003840 4A86 tst.l D6
00003842 670E beq +0x10 /* 00003852 */
00003844 2046 movea.l A0, D6
00003846 43D2 lea.l A1, [A2]
00003848 7010 moveq.l D0, 0x10
label0000384A:
0000384A 20D9 move.l [A0]+, [A1]+
0000384C 51C8 FFFC dbf D0, -0x6 /* 0000384A */
00003850 30D9 move.w [A0]+, [A1]+
label00003852:
00003852 4A85 tst.l D5
00003854 6706 beq +0x8 /* 0000385C */
00003856 2045 movea.l A0, D5
00003858 20AA 004A move.l [A0], [A2 + 0x4A]
label0000385C:
0000385C 4A84 tst.l D4
0000385E 6706 beq +0x8 /* 00003866 */
00003860 2044 movea.l A0, D4
00003862 20AA 004E move.l [A0], [A2 + 0x4E]
label00003866:
00003866 200E move.l D0, A6
00003868 6704 beq +0x6 /* 0000386E */
0000386A 2CAA 0052 move.l [A6], [A2 + 0x52]
label0000386E:
0000386E 4AAF 0084 tst.l [A7 + 0x84]
00003872 672A beq +0x2C /* 0000389E */
00003874 2C6A 0046 movea.l A6, [A2 + 0x46]
00003878 204A movea.l A0, A2
0000387A 91CC sub.l A0, A4
0000387C 2808 move.l D4, A0
0000387E 7056 moveq.l D0, 0x56
00003880 9680 sub.l D3, D0
00003882 41EA 0056 lea.l A0, [A2 + 0x56]
00003886 224A movea.l A1, A2
00003888 2003 move.l D0, D3
0000388A 9084 sub.l D0, D4
0000388C A02E syscall BlockMove/BlockMoveData
0000388E 206B 0050 movea.l A0, [A3 + 0x50]
00003892 2003 move.l D0, D3
00003894 A024 syscall SetHandleSize
00003896 200E move.l D0, A6
00003898 6704 beq +0x6 /* 0000389E */
0000389A 204E movea.l A0, A6
0000389C A023 syscall DisposHandle/DisposeHandle
label0000389E:
0000389E 206F 0046 movea.l A0, [A7 + 0x46]
000038A2 A023 syscall DisposHandle/DisposeHandle
000038A4 2007 move.l D0, D7
000038A6 4FEF 0056 lea.l A7, [A7 + 0x56]
000038AA 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000038AE 4E75 rts
fn000038B0:
000038B0 1F3C 0002 move.b -[A7], 0x2
000038B4 42A7 clr.l -[A7]
000038B6 2F2F 000C move.l -[A7], [A7 + 0xC]
000038BA 3F2F 000E move.w -[A7], [A7 + 0xE]
000038BE 4EBA 056A jsr [PC + 0x56A /* 00003E2A */]
000038C2 4FEF 000C lea.l A7, [A7 + 0xC]
000038C6 4E75 rts
fn000038C8:
000038C8 4227 clr.b -[A7]
000038CA 42A7 clr.l -[A7]
000038CC 42A7 clr.l -[A7]
000038CE 3F2F 000E move.w -[A7], [A7 + 0xE]
000038D2 4EBA 0556 jsr [PC + 0x556 /* 00003E2A */]
000038D6 4FEF 000C lea.l A7, [A7 + 0xC]
000038DA 4E75 rts
000038DC 1F3C 0001 move.b -[A7], 0x1
000038E0 2F2F 0008 move.l -[A7], [A7 + 0x8]
000038E4 42A7 clr.l -[A7]
000038E6 3F2F 000E move.w -[A7], [A7 + 0xE]
000038EA 4EBA 053E jsr [PC + 0x53E /* 00003E2A */]
000038EE 4FEF 000C lea.l A7, [A7 + 0xC]
000038F2 4E75 rts
000038F4 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
000038F8 4FEF FFEC lea.l A7, [A7 - 0x14]
000038FC 2C2F 003A move.l D6, [A7 + 0x3A]
00003900 286F 003E movea.l A4, [A7 + 0x3E]
00003904 42A7 clr.l -[A7]
00003906 3F2F 003C move.w -[A7], [A7 + 0x3C]
0000390A 4EBA 0392 jsr [PC + 0x392 /* 00003C9E */]
0000390E 2800 move.l D4, D0
00003910 7A00 moveq.l D5, 0x00
00003912 7600 moveq.l D3, 0x00
00003914 4294 clr.l [A4]
00003916 4A84 tst.l D4
00003918 5C4F addq.w A7, 6
0000391A 6C0C bge +0xE /* 00003928 */
0000391C 7094 moveq.l D0, 0xFFFFFF94
0000391E 4FEF 0014 lea.l A7, [A7 + 0x14]
00003922 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
00003926 4E75 rts
label00003928:
00003928 2004 move.l D0, D4
0000392A EF88 lsl D0, 7
0000392C 2E80 move.l [A7], D0
0000392E 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
00003932 4EAD DD80 jsr [A5 - 0x2280]
00003936 D1EF 0004 add.l A0, [A7 + 0x4]
0000393A 2448 movea.l A2, A0
0000393C 4AAA 0074 tst.l [A2 + 0x74]
00003940 584F addq.w A7, 4
00003942 673C beq +0x3E /* 00003980 */
00003944 2F46 0008 move.l [A7 + 0x8], D6
00003948 594F subq.w A7, 4
0000394A 2F2A 0074 move.l -[A7], [A2 + 0x74]
0000394E 4EAD D9AC jsr [A5 - 0x2654]
00003952 201F move.l D0, [A7]+
00003954 E688 lsr D0, 3
00003956 2800 move.l D4, D0
00003958 486D E748 pea.l [A5 - 0x18B8]
0000395C 4878 0008 push.l 0x8
00003960 2F04 move.l -[A7], D4
00003962 206A 0074 movea.l A0, [A2 + 0x74]
00003966 2F10 move.l -[A7], [A0]
00003968 486F 0014 pea.l [A7 + 0x14]
0000396C 4EAD D928 jsr [A5 - 0x26D8]
00003970 2648 movea.l A3, A0
00003972 200B move.l D0, A3
00003974 4FEF 0014 lea.l A7, [A7 + 0x14]
00003978 6706 beq +0x8 /* 00003980 */
0000397A 2C53 movea.l A6, [A3]
0000397C 7A01 moveq.l D5, 0x01
0000397E 288E move.l [A4], A6
label00003980:
00003980 4A85 tst.l D5
00003982 6600 0088 bne +0x8A /* 00003A0C */
00003986 486F 000C pea.l [A7 + 0xC]
0000398A 2F46 0014 move.l [A7 + 0x14], D6
0000398E 2F06 move.l -[A7], D6
00003990 3F2A 007E move.w -[A7], [A2 + 0x7E]
00003994 4EBA 05C2 jsr [PC + 0x5C2 /* 00003F58 */]
00003998 3600 move.w D3, D0
0000399A 4FEF 000A lea.l A7, [A7 + 0xA]
0000399E 666C bne +0x6E /* 00003A0C */
000039A0 4AAF 000C tst.l [A7 + 0xC]
000039A4 6766 beq +0x68 /* 00003A0C */
000039A6 4AAA 0074 tst.l [A2 + 0x74]
000039AA 671A beq +0x1C /* 000039C6 */
000039AC 594F subq.w A7, 4
000039AE 2F2A 0074 move.l -[A7], [A2 + 0x74]
000039B2 4EAD D9AC jsr [A5 - 0x2654]
000039B6 201F move.l D0, [A7]+
000039B8 2800 move.l D4, D0
000039BA 206A 0074 movea.l A0, [A2 + 0x74]
000039BE 2004 move.l D0, D4
000039C0 5080 addq.l D0, 8
000039C2 A024 syscall SetHandleSize
000039C4 600A bra +0xC /* 000039D0 */
label000039C6:
000039C6 7800 moveq.l D4, 0x00
000039C8 7008 moveq.l D0, 0x08
000039CA A122 syscall NewHandle, flags=1
000039CC 2548 0074 move.l [A2 + 0x74], A0
label000039D0:
000039D0 554F subq.w A7, 2
000039D2 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000039D6 301F move.w D0, [A7]+
000039D8 3600 move.w D3, D0
000039DA 6626 bne +0x28 /* 00003A02 */
000039DC 2A04 move.l D5, D4
000039DE E68D lsr D5, 3
000039E0 486D E748 pea.l [A5 - 0x18B8]
000039E4 4878 0008 push.l 0x8
000039E8 2F05 move.l -[A7], D5
000039EA 206A 0074 movea.l A0, [A2 + 0x74]
000039EE 2F10 move.l -[A7], [A0]
000039F0 486F 001C pea.l [A7 + 0x1C]
000039F4 4EBA C612 jsr [PC - 0x39EE /* 00000008 */]
000039F8 28AF 0020 move.l [A4], [A7 + 0x20]
000039FC 4FEF 0014 lea.l A7, [A7 + 0x14]
00003A00 600A bra +0xC /* 00003A0C */
label00003A02:
00003A02 2F2F 000C move.l -[A7], [A7 + 0xC]
00003A06 4EBA 051E jsr [PC + 0x51E /* 00003F26 */]
00003A0A 584F addq.w A7, 4
label00003A0C:
00003A0C 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
00003A10 4EAD DD88 jsr [A5 - 0x2278]
00003A14 3003 move.w D0, D3
00003A16 4FEF 0018 lea.l A7, [A7 + 0x18]
00003A1A 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
00003A1E 4E75 rts
00003A20 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00003A24 4FEF FFA6 lea.l A7, [A7 - 0x5A]
00003A28 2C2F 0084 move.l D6, [A7 + 0x84]
00003A2C 266F 0088 movea.l A3, [A7 + 0x88]
00003A30 286F 008C movea.l A4, [A7 + 0x8C]
00003A34 282F 0090 move.l D4, [A7 + 0x90]
00003A38 42A7 clr.l -[A7]
00003A3A 3F2F 0086 move.w -[A7], [A7 + 0x86]
00003A3E 4EBA 025E jsr [PC + 0x25E /* 00003C9E */]
00003A42 2A00 move.l D5, D0
00003A44 7600 moveq.l D3, 0x00
00003A46 4293 clr.l [A3]
00003A48 4A85 tst.l D5
00003A4A 5C4F addq.w A7, 6
00003A4C 6C0C bge +0xE /* 00003A5A */
00003A4E 7094 moveq.l D0, 0xFFFFFF94
00003A50 4FEF 005A lea.l A7, [A7 + 0x5A]
00003A54 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00003A58 4E75 rts
label00003A5A:
00003A5A 2005 move.l D0, D5
00003A5C EF88 lsl D0, 7
00003A5E 2E80 move.l [A7], D0
00003A60 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
00003A64 4EAD DD80 jsr [A5 - 0x2280]
00003A68 D1EF 0004 add.l A0, [A7 + 0x4]
00003A6C 2C48 movea.l A6, A0
00003A6E 4AAE 0070 tst.l [A6 + 0x70]
00003A72 584F addq.w A7, 4
00003A74 6700 020A beq +0x20C /* 00003C80 */
00003A78 2F2E 0070 move.l -[A7], [A6 + 0x70]
00003A7C 4EAD DD80 jsr [A5 - 0x2280]
00003A80 2448 movea.l A2, A0
00003A82 2F2E 0070 move.l -[A7], [A6 + 0x70]
00003A86 4EAD D9AC jsr [A5 - 0x2654]
00003A8A 201F move.l D0, [A7]+
00003A8C 7256 moveq.l D1, 0x56
00003A8E 4EAD D8FE jsr [A5 - 0x2702]
00003A92 2E00 move.l D7, D0
00003A94 7A00 moveq.l D5, 0x00
00003A96 6000 00A4 bra +0xA6 /* 00003B3C */
label00003A9A:
00003A9A BCAA 0052 cmp.l D6, [A2 + 0x52]
00003A9E 6600 0096 bne +0x98 /* 00003B36 */
00003AA2 4A84 tst.l D4
00003AA4 6706 beq +0x8 /* 00003AAC */
00003AA6 2044 movea.l A0, D4
00003AA8 20AA 004E move.l [A0], [A2 + 0x4E]
label00003AAC:
00003AAC 4AAA 0046 tst.l [A2 + 0x46]
00003AB0 6718 beq +0x1A /* 00003ACA */
00003AB2 206A 0046 movea.l A0, [A2 + 0x46]
00003AB6 4A90 tst.l [A0]
00003AB8 6710 beq +0x12 /* 00003ACA */
00003ABA 26AA 0046 move.l [A3], [A2 + 0x46]
00003ABE 200C move.l D0, A4
00003AC0 6700 0080 beq +0x82 /* 00003B42 */
00003AC4 28AA 004A move.l [A4], [A2 + 0x4A]
00003AC8 6078 bra +0x7A /* 00003B42 */
label00003ACA:
00003ACA 4AAA 004A tst.l [A2 + 0x4A]
00003ACE 670A beq +0xC /* 00003ADA */
00003AD0 2F2A 004A move.l -[A7], [A2 + 0x4A]
00003AD4 AA24 syscall DisposeCTable/DisposCTable
00003AD6 42AA 004A clr.l [A2 + 0x4A]
label00003ADA:
00003ADA 4AAA 0046 tst.l [A2 + 0x46]
00003ADE 670A beq +0xC /* 00003AEA */
00003AE0 206A 0046 movea.l A0, [A2 + 0x46]
00003AE4 A023 syscall DisposHandle/DisposeHandle
00003AE6 42AA 0046 clr.l [A2 + 0x46]
label00003AEA:
00003AEA 42A7 clr.l -[A7]
00003AEC 486A 004A pea.l [A2 + 0x4A]
00003AF0 486A 0046 pea.l [A2 + 0x46]
00003AF4 2F0A move.l -[A7], A2
00003AF6 4EAD DC2E jsr [A5 - 0x23D2]
00003AFA 3600 move.w D3, D0
00003AFC 26AA 0046 move.l [A3], [A2 + 0x46]
00003B00 4FEF 0010 lea.l A7, [A7 + 0x10]
00003B04 6710 beq +0x12 /* 00003B16 */
00003B06 206A 0046 movea.l A0, [A2 + 0x46]
00003B0A A049 syscall HPurge
00003B0C 200C move.l D0, A4
00003B0E 6732 beq +0x34 /* 00003B42 */
00003B10 28AA 004A move.l [A4], [A2 + 0x4A]
00003B14 602C bra +0x2E /* 00003B42 */
label00003B16:
00003B16 594F subq.w A7, 4
00003B18 302D 135E move.w D0, [A5 + 0x135E]
00003B1C 48C0 ext.l D0
00003B1E 0680 0000 0084 addi.l D0, 0x84
00003B24 3F00 move.w -[A7], D0
00003B26 A9BC syscall GetPicture
00003B28 205F movea.l A0, [A7]+
00003B2A 2688 move.l [A3], A0
00003B2C 554F subq.w A7, 2
00003B2E A9AF syscall ResError
00003B30 301F move.w D0, [A7]+
00003B32 3600 move.w D3, D0
00003B34 600C bra +0xE /* 00003B42 */
label00003B36:
00003B36 5285 addq.l D5, 1
00003B38 7056 moveq.l D0, 0x56
00003B3A D5C0 add.l A2, D0
label00003B3C:
00003B3C BA87 cmp.l D5, D7
00003B3E 6D00 FF5A blt -0xA4 /* 00003A9A */
label00003B42:
00003B42 2F2E 0070 move.l -[A7], [A6 + 0x70]
00003B46 4EAD DD88 jsr [A5 - 0x2278]
00003B4A 584F addq.w A7, 4
00003B4C 6000 0132 bra +0x134 /* 00003C80 */
label00003B50:
00003B50 41ED 8C30 lea.l A0, [A5 - 0x73D0]
00003B54 43EF 0004 lea.l A1, [A7 + 0x4]
00003B58 7014 moveq.l D0, 0x14
label00003B5A:
00003B5A 22D8 move.l [A1]+, [A0]+
00003B5C 51C8 FFFC dbf D0, -0x6 /* 00003B5A */
00003B60 32D8 move.w [A1]+, [A0]+
00003B62 2F46 0056 move.l [A7 + 0x56], D6
00003B66 2F2F 0056 move.l -[A7], [A7 + 0x56]
00003B6A 486F 0008 pea.l [A7 + 0x8]
00003B6E 2F0E move.l -[A7], A6
00003B70 4EBA 016A jsr [PC + 0x16A /* 00003CDC */]
00003B74 3600 move.w D3, D0
00003B76 0C43 FFD5 cmpi.w D3, 0xFFD5
00003B7A 4FEF 000C lea.l A7, [A7 + 0xC]
00003B7E 6712 beq +0x14 /* 00003B92 */
00003B80 0C43 FF88 cmpi.w D3, 0xFF88
00003B84 670C beq +0xE /* 00003B92 */
00003B86 0C43 FFDD cmpi.w D3, 0xFFDD
00003B8A 6706 beq +0x8 /* 00003B92 */
00003B8C 0C43 FFDB cmpi.w D3, 0xFFDB
00003B90 6606 bne +0x8 /* 00003B98 */
label00003B92:
00003B92 42AF 004A clr.l [A7 + 0x4A]
00003B96 6064 bra +0x66 /* 00003BFC */
label00003B98:
00003B98 4A43 tst.w D3
00003B9A 6600 00EE bne +0xF0 /* 00003C8A */
00003B9E 486F 0052 pea.l [A7 + 0x52]
00003BA2 486F 0052 pea.l [A7 + 0x52]
00003BA6 486F 0052 pea.l [A7 + 0x52]
00003BAA 486F 0010 pea.l [A7 + 0x10]
00003BAE 4EAD DC2E jsr [A5 - 0x23D2]
00003BB2 3600 move.w D3, D0
00003BB4 0C43 FF94 cmpi.w D3, 0xFF94
00003BB8 4FEF 0010 lea.l A7, [A7 + 0x10]
00003BBC 6630 bne +0x32 /* 00003BEE */
00003BBE 594F subq.w A7, 4
00003BC0 302D 135E move.w D0, [A5 + 0x135E]
00003BC4 48C0 ext.l D0
00003BC6 0680 0000 0088 addi.l D0, 0x88
00003BCC 3F00 move.w -[A7], D0
00003BCE A9BC syscall GetPicture
00003BD0 205F movea.l A0, [A7]+
00003BD2 2F48 004A move.l [A7 + 0x4A], A0
00003BD6 554F subq.w A7, 2
00003BD8 A9AF syscall ResError
00003BDA 301F move.w D0, [A7]+
00003BDC 3600 move.w D3, D0
00003BDE 6600 00AA bne +0xAC /* 00003C8A */
00003BE2 206F 004A movea.l A0, [A7 + 0x4A]
00003BE6 A04A syscall HNoPurge
00003BE8 2F2F 004A move.l -[A7], [A7 + 0x4A]
00003BEC A992 syscall DetachResource
label00003BEE:
00003BEE 4A43 tst.w D3
00003BF0 6600 0098 bne +0x9A /* 00003C8A */
00003BF4 4AAF 004A tst.l [A7 + 0x4A]
00003BF8 6700 0090 beq +0x92 /* 00003C8A */
label00003BFC:
00003BFC 4AAE 0070 tst.l [A6 + 0x70]
00003C00 6710 beq +0x12 /* 00003C12 */
00003C02 41EF 0004 lea.l A0, [A7 + 0x4]
00003C06 226E 0070 movea.l A1, [A6 + 0x70]
00003C0A 7056 moveq.l D0, 0x56
00003C0C A9EF syscall PtrAndHand
00003C0E 3600 move.w D3, D0
00003C10 6016 bra +0x18 /* 00003C28 */
label00003C12:
00003C12 554F subq.w A7, 2
00003C14 486F 0006 pea.l [A7 + 0x6]
00003C18 486E 0070 pea.l [A6 + 0x70]
00003C1C 4878 0056 push.l 0x56 /* 'V' */
00003C20 4EAD DA36 jsr [A5 - 0x25CA]
00003C24 301F move.w D0, [A7]+
00003C26 3600 move.w D3, D0
label00003C28:
00003C28 4A43 tst.w D3
00003C2A 6714 beq +0x16 /* 00003C40 */
00003C2C 206F 004A movea.l A0, [A7 + 0x4A]
00003C30 A023 syscall DisposHandle/DisposeHandle
00003C32 4AAF 004E tst.l [A7 + 0x4E]
00003C36 6752 beq +0x54 /* 00003C8A */
00003C38 2F2F 004E move.l -[A7], [A7 + 0x4E]
00003C3C AA24 syscall DisposeCTable/DisposCTable
00003C3E 604A bra +0x4C /* 00003C8A */
label00003C40:
00003C40 26AF 004A move.l [A3], [A7 + 0x4A]
00003C44 6710 beq +0x12 /* 00003C56 */
00003C46 206F 004A movea.l A0, [A7 + 0x4A]
00003C4A A049 syscall HPurge
00003C4C 200C move.l D0, A4
00003C4E 6724 beq +0x26 /* 00003C74 */
00003C50 28AF 004E move.l [A4], [A7 + 0x4E]
00003C54 601E bra +0x20 /* 00003C74 */
label00003C56:
00003C56 594F subq.w A7, 4
00003C58 302D 135E move.w D0, [A5 + 0x135E]
00003C5C 48C0 ext.l D0
00003C5E 0680 0000 0084 addi.l D0, 0x84
00003C64 3F00 move.w -[A7], D0
00003C66 A9BC syscall GetPicture
00003C68 205F movea.l A0, [A7]+
00003C6A 2688 move.l [A3], A0
00003C6C 554F subq.w A7, 2
00003C6E A9AF syscall ResError
00003C70 301F move.w D0, [A7]+
00003C72 3600 move.w D3, D0
label00003C74:
00003C74 4A84 tst.l D4
00003C76 6712 beq +0x14 /* 00003C8A */
00003C78 2044 movea.l A0, D4
00003C7A 20AF 0052 move.l [A0], [A7 + 0x52]
00003C7E 600A bra +0xC /* 00003C8A */
label00003C80:
00003C80 4A43 tst.w D3
00003C82 6606 bne +0x8 /* 00003C8A */
00003C84 4A93 tst.l [A3]
00003C86 6700 FEC8 beq -0x136 /* 00003B50 */
label00003C8A:
00003C8A 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
00003C8E 4EAD DD88 jsr [A5 - 0x2278]
00003C92 3003 move.w D0, D3
00003C94 4FEF 005E lea.l A7, [A7 + 0x5E]
00003C98 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00003C9C 4E75 rts
fn00003C9E:
00003C9E 342F 0004 move.w D2, [A7 + 0x4]
00003CA2 226F 0006 movea.l A1, [A7 + 0x6]
00003CA6 4AAD 8D0A tst.l [A5 - 0x72F6]
00003CAA 6604 bne +0x6 /* 00003CB0 */
00003CAC 70FF moveq.l D0, 0xFFFFFFFF
00003CAE 4E75 rts
label00003CB0:
00003CB0 2009 move.l D0, A1
00003CB2 6704 beq +0x6 /* 00003CB8 */
00003CB4 22AD 8D06 move.l [A1], [A5 - 0x72FA]
label00003CB8:
00003CB8 206D 8D0A movea.l A0, [A5 - 0x72F6]
00003CBC 2250 movea.l A1, [A0]
00003CBE 7200 moveq.l D1, 0x00
00003CC0 6010 bra +0x12 /* 00003CD2 */
label00003CC2:
00003CC2 B469 007E cmp.w D2, [A1 + 0x7E]
00003CC6 6604 bne +0x6 /* 00003CCC */
00003CC8 2001 move.l D0, D1
00003CCA 4E75 rts
label00003CCC:
00003CCC 5281 addq.l D1, 1
00003CCE 43E9 0080 lea.l A1, [A1 + 0x80]
label00003CD2:
00003CD2 B2AD 8D06 cmp.l D1, [A5 - 0x72FA]
00003CD6 6DEA blt -0x14 /* 00003CC2 */
00003CD8 70FF moveq.l D0, 0xFFFFFFFF
00003CDA 4E75 rts
fn00003CDC:
00003CDC 2F0A move.l -[A7], A2
00003CDE 246F 000C movea.l A2, [A7 + 0xC]
00003CE2 206F 0008 movea.l A0, [A7 + 0x8]
00003CE6 3490 move.w [A2], [A0]
00003CE8 2568 0002 0002 move.l [A2 + 0x2], [A0 + 0x2]
00003CEE 2F2F 0010 move.l -[A7], [A7 + 0x10]
00003CF2 2F0A move.l -[A7], A2
00003CF4 4EAD E368 jsr [A5 - 0x1C98]
00003CF8 504F addq.w A7, 8
00003CFA 245F movea.l A2, [A7]+
00003CFC 4E75 rts
00003CFE 206F 0008 movea.l A0, [A7 + 0x8]
00003D02 2068 0046 movea.l A0, [A0 + 0x46]
00003D06 2F10 move.l -[A7], [A0]
00003D08 206F 0008 movea.l A0, [A7 + 0x8]
00003D0C 2068 0046 movea.l A0, [A0 + 0x46]
00003D10 2F10 move.l -[A7], [A0]
00003D12 4EAD DE10 jsr [A5 - 0x21F0]
00003D16 504F addq.w A7, 8
00003D18 4E75 rts
fn00003D1A:
00003D1A 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00003D1E 266F 0014 movea.l A3, [A7 + 0x14]
00003D22 246F 0018 movea.l A2, [A7 + 0x18]
00003D26 286F 001C movea.l A4, [A7 + 0x1C]
00003D2A 162F 0020 move.b D3, [A7 + 0x20]
00003D2E 4AAB 005C tst.l [A3 + 0x5C]
00003D32 660A bne +0xC /* 00003D3E */
00003D34 4292 clr.l [A2]
00003D36 7000 moveq.l D0, 0x00
00003D38 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00003D3C 4E75 rts
label00003D3E:
00003D3E 4A03 tst.b D3
00003D40 6706 beq +0x8 /* 00003D48 */
00003D42 0C03 0003 cmpi.b D3, 0x3
00003D46 6610 bne +0x12 /* 00003D58 */
label00003D48:
00003D48 594F subq.w A7, 4
00003D4A 2F2B 005C move.l -[A7], [A3 + 0x5C]
00003D4E 4EAD D9AC jsr [A5 - 0x2654]
00003D52 201F move.l D0, [A7]+
00003D54 E488 lsr D0, 2
00003D56 2880 move.l [A4], D0
label00003D58:
00003D58 7000 moveq.l D0, 0x00
00003D5A 1003 move.b D0, D3
00003D5C 670E beq +0x10 /* 00003D6C */
00003D5E 5380 subq.l D0, 1
00003D60 672A beq +0x2C /* 00003D8C */
00003D62 5380 subq.l D0, 1
00003D64 6716 beq +0x18 /* 00003D7C */
00003D66 5380 subq.l D0, 1
00003D68 671C beq +0x1E /* 00003D86 */
00003D6A 6040 bra +0x42 /* 00003DAC */
label00003D6C:
00003D6C 2F2B 005C move.l -[A7], [A3 + 0x5C]
00003D70 4EAD DD80 jsr [A5 - 0x2280]
00003D74 4292 clr.l [A2]
00003D76 7600 moveq.l D3, 0x00
00003D78 584F addq.w A7, 4
00003D7A 6034 bra +0x36 /* 00003DB0 */
label00003D7C:
00003D7C 2F2B 005C move.l -[A7], [A3 + 0x5C]
00003D80 4EAD DD88 jsr [A5 - 0x2278]
00003D84 584F addq.w A7, 4
label00003D86:
00003D86 4292 clr.l [A2]
00003D88 7600 moveq.l D3, 0x00
00003D8A 6024 bra +0x26 /* 00003DB0 */
label00003D8C:
00003D8C 2014 move.l D0, [A4]
00003D8E 5394 subq.l [A4], 1
00003D90 4A80 tst.l D0
00003D92 6606 bne +0x8 /* 00003D9A */
00003D94 4292 clr.l [A2]
00003D96 7600 moveq.l D3, 0x00
00003D98 6016 bra +0x18 /* 00003DB0 */
label00003D9A:
00003D9A 4A92 tst.l [A2]
00003D9C 6704 beq +0x6 /* 00003DA2 */
00003D9E 5892 addq.l [A2], 4
00003DA0 6006 bra +0x8 /* 00003DA8 */
label00003DA2:
00003DA2 206B 005C movea.l A0, [A3 + 0x5C]
00003DA6 2490 move.l [A2], [A0]
label00003DA8:
00003DA8 7601 moveq.l D3, 0x01
00003DAA 6004 bra +0x6 /* 00003DB0 */
label00003DAC:
00003DAC 4292 clr.l [A2]
00003DAE 7600 moveq.l D3, 0x00
label00003DB0:
00003DB0 2003 move.l D0, D3
00003DB2 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00003DB6 4E75 rts
fn00003DB8:
00003DB8 2F0A move.l -[A7], A2
00003DBA 514F subq.w A7, 8
00003DBC 246F 0010 movea.l A2, [A7 + 0x10]
00003DC0 4AAD AA18 tst.l [A5 - 0x55E8]
00003DC4 6752 beq +0x54 /* 00003E18 */
00003DC6 4227 clr.b -[A7]
00003DC8 486F 0002 pea.l [A7 + 0x2]
00003DCC 486F 000A pea.l [A7 + 0xA]
00003DD0 2F0A move.l -[A7], A2
00003DD2 4EBA FF46 jsr [PC - 0xBA /* 00003D1A */]
00003DD6 4FEF 000E lea.l A7, [A7 + 0xE]
00003DDA 600C bra +0xE /* 00003DE8 */
label00003DDC:
00003DDC 206F 0004 movea.l A0, [A7 + 0x4]
00003DE0 2F10 move.l -[A7], [A0]
00003DE2 4EAD F490 jsr [A5 - 0xB70]
00003DE6 584F addq.w A7, 4
label00003DE8:
00003DE8 1F3C 0001 move.b -[A7], 0x1
00003DEC 486F 0002 pea.l [A7 + 0x2]
00003DF0 486F 000A pea.l [A7 + 0xA]
00003DF4 2F0A move.l -[A7], A2
00003DF6 4EBA FF22 jsr [PC - 0xDE /* 00003D1A */]
00003DFA 4A80 tst.l D0
00003DFC 4FEF 000E lea.l A7, [A7 + 0xE]
00003E00 66DA bne -0x24 /* 00003DDC */
00003E02 1F3C 0002 move.b -[A7], 0x2
00003E06 486F 0002 pea.l [A7 + 0x2]
00003E0A 486F 000A pea.l [A7 + 0xA]
00003E0E 2F0A move.l -[A7], A2
00003E10 4EBA FF08 jsr [PC - 0xF8 /* 00003D1A */]
00003E14 4FEF 000E lea.l A7, [A7 + 0xE]
label00003E18:
00003E18 4AAA 005C tst.l [A2 + 0x5C]
00003E1C 6706 beq +0x8 /* 00003E24 */
00003E1E 206A 005C movea.l A0, [A2 + 0x5C]
00003E22 A023 syscall DisposHandle/DisposeHandle
label00003E24:
00003E24 504F addq.w A7, 8
00003E26 245F movea.l A2, [A7]+
00003E28 4E75 rts
fn00003E2A:
00003E2A 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00003E2E 4FEF FFF4 lea.l A7, [A7 - 0xC]
00003E32 266F 0026 movea.l A3, [A7 + 0x26]
00003E36 282F 002A move.l D4, [A7 + 0x2A]
00003E3A 162F 002E move.b D3, [A7 + 0x2E]
00003E3E 4AAD AA18 tst.l [A5 - 0x55E8]
00003E42 6700 00B4 beq +0xB6 /* 00003EF8 */
00003E46 42A7 clr.l -[A7]
00003E48 3F2F 0028 move.w -[A7], [A7 + 0x28]
00003E4C 4EBA FE50 jsr [PC - 0x1B0 /* 00003C9E */]
00003E50 2A00 move.l D5, D0
00003E52 4A85 tst.l D5
00003E54 5C4F addq.w A7, 6
00003E56 6D00 00A0 blt +0xA2 /* 00003EF8 */
00003E5A 2005 move.l D0, D5
00003E5C EF88 lsl D0, 7
00003E5E 2E80 move.l [A7], D0
00003E60 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
00003E64 4EAD DD80 jsr [A5 - 0x2280]
00003E68 D1EF 0004 add.l A0, [A7 + 0x4]
00003E6C 2448 movea.l A2, A0
00003E6E 4227 clr.b -[A7]
00003E70 486F 000A pea.l [A7 + 0xA]
00003E74 486F 0012 pea.l [A7 + 0x12]
00003E78 2F0A move.l -[A7], A2
00003E7A 4EBA FE9E jsr [PC - 0x162 /* 00003D1A */]
00003E7E 4FEF 0012 lea.l A7, [A7 + 0x12]
00003E82 603C bra +0x3E /* 00003EC0 */
label00003E84:
00003E84 7000 moveq.l D0, 0x00
00003E86 1003 move.b D0, D3
00003E88 670A beq +0xC /* 00003E94 */
00003E8A 5380 subq.l D0, 1
00003E8C 6714 beq +0x16 /* 00003EA2 */
00003E8E 5380 subq.l D0, 1
00003E90 6720 beq +0x22 /* 00003EB2 */
00003E92 602C bra +0x2E /* 00003EC0 */
label00003E94:
00003E94 206F 0008 movea.l A0, [A7 + 0x8]
00003E98 2F10 move.l -[A7], [A0]
00003E9A 4EAD F4B0 jsr [A5 - 0xB50]
00003E9E 584F addq.w A7, 4
00003EA0 601E bra +0x20 /* 00003EC0 */
label00003EA2:
00003EA2 2F04 move.l -[A7], D4
00003EA4 206F 000C movea.l A0, [A7 + 0xC]
00003EA8 2F10 move.l -[A7], [A0]
00003EAA 4EAD F4A8 jsr [A5 - 0xB58]
00003EAE 504F addq.w A7, 8
00003EB0 600E bra +0x10 /* 00003EC0 */
label00003EB2:
00003EB2 2F0B move.l -[A7], A3
00003EB4 206F 000C movea.l A0, [A7 + 0xC]
00003EB8 2F10 move.l -[A7], [A0]
00003EBA 4EAD F4A0 jsr [A5 - 0xB60]
00003EBE 504F addq.w A7, 8
label00003EC0:
00003EC0 1F3C 0001 move.b -[A7], 0x1
00003EC4 486F 0006 pea.l [A7 + 0x6]
00003EC8 486F 000E pea.l [A7 + 0xE]
00003ECC 2F0A move.l -[A7], A2
00003ECE 4EBA FE4A jsr [PC - 0x1B6 /* 00003D1A */]
00003ED2 4A80 tst.l D0
00003ED4 4FEF 000E lea.l A7, [A7 + 0xE]
00003ED8 66AA bne -0x54 /* 00003E84 */
00003EDA 1F3C 0002 move.b -[A7], 0x2
00003EDE 486F 0006 pea.l [A7 + 0x6]
00003EE2 486F 000E pea.l [A7 + 0xE]
00003EE6 2F0A move.l -[A7], A2
00003EE8 4EBA FE30 jsr [PC - 0x1D0 /* 00003D1A */]
00003EEC 2F2D 8D0A move.l -[A7], [A5 - 0x72F6]
00003EF0 4EAD DD88 jsr [A5 - 0x2278]
00003EF4 4FEF 0012 lea.l A7, [A7 + 0x12]
label00003EF8:
00003EF8 4FEF 000C lea.l A7, [A7 + 0xC]
00003EFC 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00003F00 4E75 rts
fn00003F02:
00003F02 0CAF 414C 5448 0008 cmpi.l [A7 + 0x8], 0x414C5448 /* 'ALTH' */
00003F0A 670E beq +0x10 /* 00003F1A */
00003F0C 0CAF 414C 5468 0008 cmpi.l [A7 + 0x8], 0x414C5468 /* 'ALTh' */
00003F14 6704 beq +0x6 /* 00003F1A */
00003F16 7000 moveq.l D0, 0x00
00003F18 4E75 rts
label00003F1A:
00003F1A 2F2F 0004 move.l -[A7], [A7 + 0x4]
00003F1E 4EAD E310 jsr [A5 - 0x1CF0]
00003F22 584F addq.w A7, 4
00003F24 4E75 rts
fn00003F26:
00003F26 4878 0008 push.l 0x8
00003F2A 3F3C 0001 move.w -[A7], 0x1
00003F2E 4878 0018 push.l 0x18
00003F32 2F2F 000E move.l -[A7], [A7 + 0xE]
00003F36 4EAD DE18 jsr [A5 - 0x21E8]
00003F3A 206F 0012 movea.l A0, [A7 + 0x12]
00003F3E A023 syscall DisposHandle/DisposeHandle
00003F40 4FEF 000E lea.l A7, [A7 + 0xE]
00003F44 4E75 rts
00003F46 206F 0008 movea.l A0, [A7 + 0x8]
00003F4A 226F 0004 movea.l A1, [A7 + 0x4]
00003F4E 2029 0004 move.l D0, [A1 + 0x4]
00003F52 90A8 0004 sub.l D0, [A0 + 0x4]
00003F56 4E75 rts
fn00003F58:
00003F58 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
00003F5C 286F 002A movea.l A4, [A7 + 0x2A]
00003F60 4EAD DB08 jsr [A5 - 0x24F8]
00003F64 3C00 move.w D6, D0
00003F66 7800 moveq.l D4, 0x00
00003F68 4294 clr.l [A4]
00003F6A 3F2F 0024 move.w -[A7], [A7 + 0x24]
00003F6E 4EAD DB0E jsr [A5 - 0x24F2]
00003F72 2F2F 0028 move.l -[A7], [A7 + 0x28]
00003F76 4878 000C push.l 0xC
00003F7A 4EAD DB26 jsr [A5 - 0x24DA]
00003F7E 2C48 movea.l A6, A0
00003F80 4EAD DB02 jsr [A5 - 0x24FE]
00003F84 3800 move.w D4, D0
00003F86 4FEF 000A lea.l A7, [A7 + 0xA]
00003F8A 6600 00D8 bne +0xDA /* 00004064 */
00003F8E 2F0E move.l -[A7], A6
00003F90 4EAD DD80 jsr [A5 - 0x2280]
00003F94 2648 movea.l A3, A0
00003F96 3A13 move.w D5, [A3]
00003F98 548B addq.l A3, 2
00003F9A 3005 move.w D0, D5
00003F9C 48C0 ext.l D0
00003F9E 7218 moveq.l D1, 0x18
00003FA0 4EAD D8F8 jsr [A5 - 0x2708]
00003FA4 2600 move.l D3, D0
00003FA6 2003 move.l D0, D3
00003FA8 A322 syscall NewHandleClear, flags=3
00003FAA 2888 move.l [A4], A0
00003FAC 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00003FB0 301F move.w D0, [A7]+
00003FB2 3800 move.w D4, D0
00003FB4 544F addq.w A7, 2
00003FB6 6600 00A2 bne +0xA4 /* 0000405A */
00003FBA 2F14 move.l -[A7], [A4]
00003FBC 4EAD DD80 jsr [A5 - 0x2280]
00003FC0 2448 movea.l A2, A0
00003FC2 584F addq.w A7, 4
00003FC4 6000 0082 bra +0x84 /* 00004048 */
label00003FC8:
00003FC8 204B movea.l A0, A3
00003FCA 224A movea.l A1, A2
00003FCC 7008 moveq.l D0, 0x08
00003FCE A02E syscall BlockMove/BlockMoveData
00003FD0 508B addq.l A3, 8
00003FD2 204B movea.l A0, A3
00003FD4 43EA 000C lea.l A1, [A2 + 0xC]
00003FD8 7004 moveq.l D0, 0x04
00003FDA A02E syscall BlockMove/BlockMoveData
00003FDC 588B addq.l A3, 4
00003FDE 161B move.b D3, [A3]+
00003FE0 1003 move.b D0, D3
00003FE2 7201 moveq.l D1, 0x01
00003FE4 C081 and.l D0, D1
00003FE6 6706 beq +0x8 /* 00003FEE */
00003FE8 002A 0080 0014 ori.b [A2 + 0x14], 0x80
label00003FEE:
00003FEE 1003 move.b D0, D3
00003FF0 7202 moveq.l D1, 0x02
00003FF2 C081 and.l D0, D1
00003FF4 6706 beq +0x8 /* 00003FFC */
00003FF6 002A 0040 0014 ori.b [A2 + 0x14], 0x40 /* '@' */
label00003FFC:
00003FFC 1003 move.b D0, D3
00003FFE 7204 moveq.l D1, 0x04
00004000 C081 and.l D0, D1
00004002 6706 beq +0x8 /* 0000400A */
00004004 002A 0020 0014 ori.b [A2 + 0x14], 0x20 /* ' ' */
label0000400A:
0000400A 1003 move.b D0, D3
0000400C 7208 moveq.l D1, 0x08
0000400E C081 and.l D0, D1
00004010 6706 beq +0x8 /* 00004018 */
00004012 002A 0010 0014 ori.b [A2 + 0x14], 0x10
label00004018:
00004018 204B movea.l A0, A3
0000401A 70FF moveq.l D0, 0xFFFFFFFF
label0000401C:
0000401C 5280 addq.l D0, 1
0000401E 4A18 tst.b [A0]+
00004020 66FA bne -0x4 /* 0000401C */
00004022 2600 move.l D3, D0
00004024 554F subq.w A7, 2
00004026 2F0B move.l -[A7], A3
00004028 486A 0008 pea.l [A2 + 0x8]
0000402C 2003 move.l D0, D3
0000402E 5280 addq.l D0, 1
00004030 2F00 move.l -[A7], D0
00004032 4EAD DA36 jsr [A5 - 0x25CA]
00004036 301F move.w D0, [A7]+
00004038 3800 move.w D4, D0
0000403A 4A44 tst.w D4
0000403C 6614 bne +0x16 /* 00004052 */
0000403E 2003 move.l D0, D3
00004040 5280 addq.l D0, 1
00004042 D7C0 add.l A3, D0
00004044 7018 moveq.l D0, 0x18
00004046 D5C0 add.l A2, D0
label00004048:
00004048 3005 move.w D0, D5
0000404A 5345 subq.w D5, 1
0000404C 4A40 tst.w D0
0000404E 6600 FF78 bne -0x86 /* 00003FC8 */
label00004052:
00004052 2F14 move.l -[A7], [A4]
00004054 4EAD DD88 jsr [A5 - 0x2278]
00004058 584F addq.w A7, 4
label0000405A:
0000405A 2F0E move.l -[A7], A6
0000405C 4EAD DD88 jsr [A5 - 0x2278]
00004060 584F addq.w A7, 4
00004062 6002 bra +0x4 /* 00004066 */
label00004064:
00004064 7800 moveq.l D4, 0x00
label00004066:
00004066 3F06 move.w -[A7], D6
00004068 4EAD DB0E jsr [A5 - 0x24F2]
0000406C 3004 move.w D0, D4
0000406E 544F addq.w A7, 2
00004070 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
00004074 4E75 rts
00004076 2F0A move.l -[A7], A2
00004078 5D4F subq.w A7, 6
0000407A 246F 0012 movea.l A2, [A7 + 0x12]
0000407E 4A92 tst.l [A2]
00004080 6C0C bge +0xE /* 0000408E */
00004082 2F2F 000E move.l -[A7], [A7 + 0xE]
00004086 4EBA 003C jsr [PC + 0x3C /* 000040C4 */]
0000408A 2480 move.l [A2], D0
0000408C 584F addq.w A7, 4
label0000408E:
0000408E 2EAF 0016 move.l [A7], [A7 + 0x16]
00004092 486D E758 pea.l [A5 - 0x18A8]
00004096 4878 0006 push.l 0x6
0000409A 2F12 move.l -[A7], [A2]
0000409C 2F2F 001A move.l -[A7], [A7 + 0x1A]
000040A0 486F 0010 pea.l [A7 + 0x10]
000040A4 4EAD D928 jsr [A5 - 0x26D8]
000040A8 4FEF 001A lea.l A7, [A7 + 0x1A]
000040AC 245F movea.l A2, [A7]+
000040AE 4E75 rts
000040B0 206F 0008 movea.l A0, [A7 + 0x8]
000040B4 2F10 move.l -[A7], [A0]
000040B6 206F 0008 movea.l A0, [A7 + 0x8]
000040BA 2F10 move.l -[A7], [A0]
000040BC 4EAD DE10 jsr [A5 - 0x21F0]
000040C0 504F addq.w A7, 8
000040C2 4E75 rts
fn000040C4:
000040C4 48E7 1030 movem.l -[A7], D3,A2,A3
000040C8 266F 0010 movea.l A3, [A7 + 0x10]
000040CC 244B movea.l A2, A3
000040CE 7600 moveq.l D3, 0x00
000040D0 6004 bra +0x6 /* 000040D6 */
label000040D2:
000040D2 5283 addq.l D3, 1
000040D4 5C8A addq.l A2, 6
label000040D6:
000040D6 4A92 tst.l [A2]
000040D8 66F8 bne -0x6 /* 000040D2 */
000040DA 486D E758 pea.l [A5 - 0x18A8]
000040DE 4878 0006 push.l 0x6
000040E2 2F03 move.l -[A7], D3
000040E4 2F0B move.l -[A7], A3
000040E6 4EAD D934 jsr [A5 - 0x26CC]
000040EA 2003 move.l D0, D3
000040EC 4FEF 0010 lea.l A7, [A7 + 0x10]
000040F0 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000040F4 4E75 rts
000040F6 4AAD 8D16 tst.l [A5 - 0x72EA]
000040FA 670A beq +0xC /* 00004106 */
000040FC 206D 8D16 movea.l A0, [A5 - 0x72EA]
00004100 A01F syscall DisposPtr/DisposePtr
00004102 42AD 8D16 clr.l [A5 - 0x72EA]
label00004106:
00004106 4E75 rts
00004108 594F subq.w A7, 4
0000410A 203C 0000 0E80 move.l D0, 0xE80
00004110 A11E syscall NewPtr, flags=1
00004112 2B48 8D16 move.l [A5 - 0x72EA], A0
00004116 2008 move.l D0, A0
00004118 6606 bne +0x8 /* 00004120 */
0000411A 7000 moveq.l D0, 0x00
0000411C 584F addq.w A7, 4
0000411E 4E75 rts
label00004120:
00004120 A11A syscall GetZone, flags=1
00004122 2E88 move.l [A7], A0
00004124 42A7 clr.l -[A7]
00004126 4267 clr.w -[A7]
00004128 206D 8D16 movea.l A0, [A5 - 0x72EA]
0000412C 4868 0E80 pea.l [A0 + 0xE80]
00004130 2F2D 8D16 move.l -[A7], [A5 - 0x72EA]
00004134 4EAD D9A6 jsr [A5 - 0x265A]
00004138 2057 movea.l A0, [A7]
0000413A A01B syscall SetZone
0000413C 7001 moveq.l D0, 0x01
0000413E 584F addq.w A7, 4
00004140 4E75 rts
00004142 206F 0004 movea.l A0, [A7 + 0x4]
00004146 4AAF 0008 tst.l [A7 + 0x8]
0000414A 6708 beq +0xA /* 00004154 */
0000414C 216F 0008 014C move.l [A0 + 0x14C], [A7 + 0x8]
00004152 600C bra +0xE /* 00004160 */
label00004154:
00004154 202D B634 move.l D0, [A5 - 0x49CC]
00004158 52AD B634 addq.l [A5 - 0x49CC], 1
0000415C 2140 014C move.l [A0 + 0x14C], D0
label00004160:
00004160 4E75 rts
00004162 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00004166 4FEF FEEE lea.l A7, [A7 - 0x112]
0000416A 382F 0142 move.w D4, [A7 + 0x142]
0000416E 162F 0146 move.b D3, [A7 + 0x146]
00004172 266F 014C movea.l A3, [A7 + 0x14C]
00004176 7A01 moveq.l D5, 0x01
00004178 554F subq.w A7, 2
0000417A 2F3C 414C 4C20 move.l -[A7], 0x414C4C20 /* 'ALL ' */
00004180 A80D syscall Count1Resources
00004182 301F move.w D0, [A7]+
00004184 56C0 sne D0
00004186 4400 neg.b D0
00004188 4880 ext.w D0
0000418A 48C0 ext.l D0
0000418C 2B40 8D1E move.l [A5 - 0x72E2], D0
00004190 4EBA 25D2 jsr [PC + 0x25D2 /* 00006764 */]
00004194 2C48 movea.l A6, A0
00004196 2008 move.l D0, A0
00004198 660C bne +0xE /* 000041A6 */
0000419A 91C8 sub.l A0, A0
0000419C 4FEF 0112 lea.l A7, [A7 + 0x112]
000041A0 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000041A4 4E75 rts
label000041A6:
000041A6 1F03 move.b -[A7], D3
000041A8 3F04 move.w -[A7], D4
000041AA 4EBA 2C8C jsr [PC + 0x2C8C /* 00006E38 */]
000041AE 2C00 move.l D6, D0
000041B0 0C03 0006 cmpi.b D3, 0x6
000041B4 584F addq.w A7, 4
000041B6 673E beq +0x40 /* 000041F6 */
000041B8 0C03 0001 cmpi.b D3, 0x1
000041BC 6738 beq +0x3A /* 000041F6 */
000041BE 0C03 0003 cmpi.b D3, 0x3
000041C2 6732 beq +0x34 /* 000041F6 */
000041C4 0C03 0004 cmpi.b D3, 0x4
000041C8 672C beq +0x2E /* 000041F6 */
000041CA 4878 0001 push.l 0x1
000041CE 4878 0100 push.l 0x100
000041D2 486F 0010 pea.l [A7 + 0x10]
000041D6 2F06 move.l -[A7], D6
000041D8 3F04 move.w -[A7], D4
000041DA 4EAD E1B8 jsr [A5 - 0x1E48]
000041DE 4A80 tst.l D0
000041E0 4FEF 0012 lea.l A7, [A7 + 0x12]
000041E4 6710 beq +0x12 /* 000041F6 */
000041E6 486F 0008 pea.l [A7 + 0x8]
000041EA 4EAD DA78 jsr [A5 - 0x2588]
000041EE 45EF 000C lea.l A2, [A7 + 0xC]
000041F2 584F addq.w A7, 4
000041F4 6004 bra +0x6 /* 000041FA */
label000041F6:
000041F6 246F 013E movea.l A2, [A7 + 0x13E]
label000041FA:
000041FA 4857 pea.l [A7]
000041FC 486F 0008 pea.l [A7 + 0x8]
00004200 2F0B move.l -[A7], A3
00004202 1F03 move.b -[A7], D3
00004204 3F04 move.w -[A7], D4
00004206 4EBA 3072 jsr [PC + 0x3072 /* 0000727A */]
0000420A 3E00 move.w D7, D0
0000420C 4AAD B2D8 tst.l [A5 - 0x4D28]
00004210 4FEF 0010 lea.l A7, [A7 + 0x10]
00004214 672E beq +0x30 /* 00004244 */
00004216 4A03 tst.b D3
00004218 6706 beq +0x8 /* 00004220 */
0000421A 0C03 0002 cmpi.b D3, 0x2
0000421E 6624 bne +0x26 /* 00004244 */
label00004220:
00004220 200B move.l D0, A3
00004222 6620 bne +0x22 /* 00004244 */
00004224 1F3C 000A move.b -[A7], 0xA /* '\n' */
00004228 3F04 move.w -[A7], D4
0000422A 4EBA F194 jsr [PC - 0xE6C /* 000033C0 */]
0000422E 2648 movea.l A3, A0
00004230 B7FC 414C 5468 cmpa.l A3, 0x414C5468 /* 'ALTh' */
00004236 584F addq.w A7, 4
00004238 670A beq +0xC /* 00004244 */
0000423A B7FC 414C 5476 cmpa.l A3, 0x414C5476 /* 'ALTv' */
00004240 6702 beq +0x4 /* 00004244 */
00004242 7A00 moveq.l D5, 0x00
label00004244:
00004244 3F3C 0001 move.w -[A7], 0x1
00004248 486D 1584 pea.l [A5 + 0x1584]
0000424C 486F 010E pea.l [A7 + 0x10E]
00004250 4EAD DD18 jsr [A5 - 0x22E8]
00004254 4EBA 2C5E jsr [PC + 0x2C5E /* 00006EB4 */]
00004258 2848 movea.l A4, A0
0000425A 7000 moveq.l D0, 0x00
0000425C 102D 81A0 move.b D0, [A5 - 0x7E60]
00004260 7202 moveq.l D1, 0x02
00004262 B081 cmp.l D0, D1
00004264 4FEF 000A lea.l A7, [A7 + 0xA]
00004268 6D20 blt +0x22 /* 0000428A */
0000426A 594F subq.w A7, 4
0000426C 2F0E move.l -[A7], A6
0000426E 486F 0110 pea.l [A7 + 0x110]
00004272 2F0A move.l -[A7], A2
00004274 4227 clr.b -[A7]
00004276 3F07 move.w -[A7], D7
00004278 2F0C move.l -[A7], A4
0000427A 1F05 move.b -[A7], D5
0000427C 42A7 clr.l -[A7]
0000427E 206D 1332 movea.l A0, [A5 + 0x1332 /* export_610 */]
00004282 4E90 jsr [A0]
00004284 205F movea.l A0, [A7]+
00004286 2648 movea.l A3, A0
00004288 601E bra +0x20 /* 000042A8 */
label0000428A:
0000428A 594F subq.w A7, 4
0000428C 2F0E move.l -[A7], A6
0000428E 486F 0110 pea.l [A7 + 0x110]
00004292 2F0A move.l -[A7], A2
00004294 4227 clr.b -[A7]
00004296 3F07 move.w -[A7], D7
00004298 2F0C move.l -[A7], A4
0000429A 1F05 move.b -[A7], D5
0000429C 42A7 clr.l -[A7]
0000429E 206D 1336 movea.l A0, [A5 + 0x1336]
000042A2 4E90 jsr [A0]
000042A4 205F movea.l A0, [A7]+
000042A6 2648 movea.l A3, A0
label000042A8:
000042A8 426F 0110 clr.w [A7 + 0x110]
000042AC 244B movea.l A2, A3
000042AE 200B move.l D0, A3
000042B0 6608 bne +0xA /* 000042BA */
000042B2 3F7C FF94 0110 move.w [A7 + 0x110], 0xFF94
000042B8 6026 bra +0x28 /* 000042E0 */
label000042BA:
000042BA 4AAD 1312 tst.l [A5 + 0x1312 /* export_606 */]
000042BE 6620 bne +0x22 /* 000042E0 */
000042C0 0C03 0004 cmpi.b D3, 0x4
000042C4 671A beq +0x1C /* 000042E0 */
000042C6 0C03 0006 cmpi.b D3, 0x6
000042CA 6714 beq +0x16 /* 000042E0 */
000042CC 486F 0110 pea.l [A7 + 0x110]
000042D0 3F04 move.w -[A7], D4
000042D2 2F0B move.l -[A7], A3
000042D4 4EAD DBB6 jsr [A5 - 0x244A]
000042D8 2548 013C move.l [A2 + 0x13C], A0
000042DC 4FEF 000A lea.l A7, [A7 + 0xA]
label000042E0:
000042E0 4A6F 0110 tst.w [A7 + 0x110]
000042E4 6724 beq +0x26 /* 0000430A */
000042E6 200A move.l D0, A2
000042E8 6708 beq +0xA /* 000042F2 */
000042EA 2F0B move.l -[A7], A3
000042EC 4EBA 00F8 jsr [PC + 0xF8 /* 000043E6 */]
000042F0 584F addq.w A7, 4
label000042F2:
000042F2 3F2F 0110 move.w -[A7], [A7 + 0x110]
000042F6 3F3C 0002 move.w -[A7], 0x2
000042FA 4EAD DE98 jsr [A5 - 0x2168]
000042FE 91C8 sub.l A0, A0
00004300 4FEF 0116 lea.l A7, [A7 + 0x116]
00004304 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00004308 4E75 rts
label0000430A:
0000430A 356D B416 006C move.w [A2 + 0x6C], [A5 - 0x4BEA]
00004310 3544 0166 move.w [A2 + 0x166], D4
00004314 356F 0144 0168 move.w [A2 + 0x168], [A7 + 0x144]
0000431A 206F 013A movea.l A0, [A7 + 0x13A]
0000431E 43EA 009C lea.l A1, [A2 + 0x9C]
00004322 7010 moveq.l D0, 0x10
label00004324:
00004324 22D8 move.l [A1]+, [A0]+
00004326 51C8 FFFC dbf D0, -0x6 /* 00004324 */
0000432A 32D8 move.w [A1]+, [A0]+
0000432C 1543 016A move.b [A2 + 0x16A], D3
00004330 2546 0148 move.l [A2 + 0x148], D6
00004334 256F 0004 0158 move.l [A2 + 0x158], [A7 + 0x4]
0000433A 2557 015C move.l [A2 + 0x15C], [A7]
0000433E 4AAF 0154 tst.l [A7 + 0x154]
00004342 6712 beq +0x14 /* 00004356 */
00004344 206F 0154 movea.l A0, [A7 + 0x154]
00004348 43EA 00EC lea.l A1, [A2 + 0xEC]
0000434C 22D8 move.l [A1]+, [A0]+
0000434E 22D8 move.l [A1]+, [A0]+
00004350 22D8 move.l [A1]+, [A0]+
00004352 32D8 move.w [A1]+, [A0]+
00004354 6006 bra +0x8 /* 0000435C */
label00004356:
00004356 70FF moveq.l D0, 0xFFFFFFFF
00004358 2540 00F0 move.l [A2 + 0xF0], D0
label0000435C:
0000435C 2F0B move.l -[A7], A3
0000435E 4EAD DD40 jsr [A5 - 0x22C0]
00004362 4AAF 0154 tst.l [A7 + 0x154]
00004366 584F addq.w A7, 4
00004368 6748 beq +0x4A /* 000043B2 */
0000436A 2F0A move.l -[A7], A2
0000436C 4EBA 244E jsr [PC + 0x244E /* 000067BC */]
00004370 3F40 0114 move.w [A7 + 0x114], D0
00004374 584F addq.w A7, 4
00004376 671E beq +0x20 /* 00004396 */
00004378 554F subq.w A7, 2
0000437A 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000437E 301F move.w D0, [A7]+
00004380 3F00 move.w -[A7], D0
00004382 3F3C 0002 move.w -[A7], 0x2
00004386 4EAD DE98 jsr [A5 - 0x2168]
0000438A 2F0B move.l -[A7], A3
0000438C 4EBA 0058 jsr [PC + 0x58 /* 000043E6 */]
00004390 97CB sub.l A3, A3
00004392 504F addq.w A7, 8
00004394 601C bra +0x1E /* 000043B2 */
label00004396:
00004396 0C03 0001 cmpi.b D3, 0x1
0000439A 6716 beq +0x18 /* 000043B2 */
0000439C 554F subq.w A7, 2
0000439E 2F0B move.l -[A7], A3
000043A0 206D 1356 movea.l A0, [A5 + 0x1356]
000043A4 4E90 jsr [A0]
000043A6 301F move.w D0, [A7]+
000043A8 6608 bne +0xA /* 000043B2 */
000043AA 2F0B move.l -[A7], A3
000043AC 4EAD E4D8 jsr [A5 - 0x1B28]
000043B0 584F addq.w A7, 4
label000043B2:
000043B2 200B move.l D0, A3
000043B4 670E beq +0x10 /* 000043C4 */
000043B6 2F0A move.l -[A7], A2
000043B8 4EBA 290C jsr [PC + 0x290C /* 00006CC6 */]
000043BC 7001 moveq.l D0, 0x01
000043BE 2B40 8D12 move.l [A5 - 0x72EE], D0
000043C2 584F addq.w A7, 4
label000043C4:
000043C4 4EAD DD48 jsr [A5 - 0x22B8]
000043C8 200B move.l D0, A3
000043CA 670E beq +0x10 /* 000043DA */
000043CC 4AAF 0148 tst.l [A7 + 0x148]
000043D0 6708 beq +0xA /* 000043DA */
000043D2 2F0B move.l -[A7], A3
000043D4 206D 133E movea.l A0, [A5 + 0x133E]
000043D8 4E90 jsr [A0]
label000043DA:
000043DA 204B movea.l A0, A3
000043DC 4FEF 0112 lea.l A7, [A7 + 0x112]
000043E0 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000043E4 4E75 rts
fn000043E6:
000043E6 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
000043EA 4FEF FFF4 lea.l A7, [A7 - 0xC]
000043EE 286F 0034 movea.l A4, [A7 + 0x34]
000043F2 244C movea.l A2, A4
000043F4 B9ED ADC2 cmpa.l A4, [A5 - 0x523E]
000043F8 57C0 seq D0
000043FA 4400 neg.b D0
000043FC 4880 ext.w D0
000043FE 48C0 ext.l D0
00004400 2C40 movea.l A6, D0
00004402 B9ED B0CE cmpa.l A4, [A5 - 0x4F32]
00004406 57C0 seq D0
00004408 4400 neg.b D0
0000440A 4880 ext.w D0
0000440C 48C0 ext.l D0
0000440E 2E80 move.l [A7], D0
00004410 7A00 moveq.l D5, 0x00
00004412 7C00 moveq.l D6, 0x00
00004414 200C move.l D0, A4
00004416 6700 034E beq +0x350 /* 00004766 */
0000441A 2F0C move.l -[A7], A4
0000441C 4EAD DD40 jsr [A5 - 0x22C0]
00004420 4A2A 016A tst.b [A2 + 0x16A]
00004424 584F addq.w A7, 4
00004426 6708 beq +0xA /* 00004430 */
00004428 0C2A 0002 016A cmpi.b [A2 + 0x16A], 0x2
0000442E 660C bne +0xE /* 0000443C */
label00004430:
00004430 2F0C move.l -[A7], A4
00004432 3F2A 0166 move.w -[A7], [A2 + 0x166]
00004436 4EBA F478 jsr [PC - 0xB88 /* 000038B0 */]
0000443A 5C4F addq.w A7, 6
label0000443C:
0000443C 2F0C move.l -[A7], A4
0000443E 206D 134A movea.l A0, [A5 + 0x134A /* export_613 */]
00004442 4E90 jsr [A0]
00004444 4AAD B2D8 tst.l [A5 - 0x4D28]
00004448 661C bne +0x1E /* 00004466 */
0000444A 4AAD B0D2 tst.l [A5 - 0x4F2E]
0000444E 6716 beq +0x18 /* 00004466 */
00004450 594F subq.w A7, 4
00004452 4EAD FB98 jsr [A5 - 0x468]
00004456 205F movea.l A0, [A7]+
00004458 B9C8 cmpa.l A4, A0
0000445A 660A bne +0xC /* 00004466 */
0000445C 2F2D B0CE move.l -[A7], [A5 - 0x4F32]
00004460 4EBA FF84 jsr [PC - 0x7C /* 000043E6 */]
00004464 584F addq.w A7, 4
label00004466:
00004466 4A2A 016A tst.b [A2 + 0x16A]
0000446A 6620 bne +0x22 /* 0000448C */
0000446C 4AAA 0134 tst.l [A2 + 0x134]
00004470 671A beq +0x1C /* 0000448C */
00004472 4EAD E998 jsr [A5 - 0x1668]
00004476 2648 movea.l A3, A0
00004478 200B move.l D0, A3
0000447A 6710 beq +0x12 /* 0000448C */
0000447C 302B 0166 move.w D0, [A3 + 0x166]
00004480 B06A 0166 cmp.w D0, [A2 + 0x166]
00004484 6606 bne +0x8 /* 0000448C */
00004486 2F0B move.l -[A7], A3
00004488 4EAD DF80 jsr [A5 - 0x2080]
label0000448C:
0000448C 4AAA 0128 tst.l [A2 + 0x128]
00004490 6706 beq +0x8 /* 00004498 */
00004492 2F2A 0128 move.l -[A7], [A2 + 0x128]
00004496 A8F5 syscall KillPicture
label00004498:
00004498 4EAD E998 jsr [A5 - 0x1668]
0000449C B9C8 cmpa.l A4, A0
0000449E 6608 bne +0xA /* 000044A8 */
000044A0 42A7 clr.l -[A7]
000044A2 4EAD E9A0 jsr [A5 - 0x1660]
000044A6 584F addq.w A7, 4
label000044A8:
000044A8 4AAA 013C tst.l [A2 + 0x13C]
000044AC 670A beq +0xC /* 000044B8 */
000044AE 2F2A 013C move.l -[A7], [A2 + 0x13C]
000044B2 4EAD DBBC jsr [A5 - 0x2444]
000044B6 584F addq.w A7, 4
label000044B8:
000044B8 2F0A move.l -[A7], A2
000044BA 4EBA 243E jsr [PC + 0x243E /* 000068FA */]
000044BE 4A2A 016A tst.b [A2 + 0x16A]
000044C2 584F addq.w A7, 4
000044C4 6600 00D4 bne +0xD6 /* 0000459A */
000044C8 7600 moveq.l D3, 0x00
000044CA 3F3C 0004 move.w -[A7], 0x4
000044CE 4EAD DDA0 jsr [A5 - 0x2260]
000044D2 2F6C 0010 0004 move.l [A7 + 0x4], [A4 + 0x10]
000044D8 2F6C 0014 0008 move.l [A7 + 0x8], [A4 + 0x14]
000044DE 486F 0004 pea.l [A7 + 0x4]
000044E2 A870 syscall LocalToGlobal
000044E4 486F 0008 pea.l [A7 + 0x8]
000044E8 A870 syscall LocalToGlobal
000044EA 302A 0168 move.w D0, [A2 + 0x168]
000044EE 48C0 ext.l D0
000044F0 4A80 tst.l D0
000044F2 6D74 blt +0x76 /* 00004568 */
000044F4 7800 moveq.l D4, 0x00
000044F6 1F3C 000A move.b -[A7], 0xA /* '\n' */
000044FA 3F2A 0166 move.w -[A7], [A2 + 0x166]
000044FE 4EBA EEC0 jsr [PC - 0x1140 /* 000033C0 */]
00004502 2E08 move.l D7, A0
00004504 4AAD B2D8 tst.l [A5 - 0x4D28]
00004508 584F addq.w A7, 4
0000450A 6710 beq +0x12 /* 0000451C */
0000450C 0C87 414C 5468 cmpi.l D7, 0x414C5468 /* 'ALTh' */
00004512 6708 beq +0xA /* 0000451C */
00004514 0C87 414C 5476 cmpi.l D7, 0x414C5476 /* 'ALTv' */
0000451A 6606 bne +0x8 /* 00004522 */
label0000451C:
0000451C 3E2A 0168 move.w D7, [A2 + 0x168]
00004520 6006 bra +0x8 /* 00004528 */
label00004522:
00004522 4EAD FF40 jsr [A5 - 0xC0]
00004526 3E00 move.w D7, D0
label00004528:
00004528 486F 0004 pea.l [A7 + 0x4]
0000452C 3F07 move.w -[A7], D7
0000452E 4EAD E2E0 jsr [A5 - 0x1D20]
00004532 4AAD B2D8 tst.l [A5 - 0x4D28]
00004536 5C4F addq.w A7, 6
00004538 662E bne +0x30 /* 00004568 */
0000453A 4A44 tst.w D4
0000453C 661A bne +0x1C /* 00004558 */
0000453E 4AAA 0138 tst.l [A2 + 0x138]
00004542 6714 beq +0x16 /* 00004558 */
00004544 42A7 clr.l -[A7]
00004546 2F2A 0138 move.l -[A7], [A2 + 0x138]
0000454A 3F2A 0168 move.w -[A7], [A2 + 0x168]
0000454E 4EAD E1C8 jsr [A5 - 0x1E38]
00004552 3800 move.w D4, D0
00004554 4FEF 000A lea.l A7, [A7 + 0xA]
label00004558:
00004558 4A44 tst.w D4
0000455A 670C beq +0xE /* 00004568 */
0000455C 3F04 move.w -[A7], D4
0000455E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00004562 4EAD DE98 jsr [A5 - 0x2168]
00004566 584F addq.w A7, 4
label00004568:
00004568 2F2A 0138 move.l -[A7], [A2 + 0x138]
0000456C 4EAD E900 jsr [A5 - 0x1700]
00004570 584F addq.w A7, 4
00004572 6014 bra +0x16 /* 00004588 */
label00004574:
00004574 302B 0166 move.w D0, [A3 + 0x166]
00004578 B06A 0166 cmp.w D0, [A2 + 0x166]
0000457C 660A bne +0xC /* 00004588 */
0000457E 2F0B move.l -[A7], A3
00004580 4EBA FE64 jsr [PC - 0x19C /* 000043E6 */]
00004584 7600 moveq.l D3, 0x00
00004586 584F addq.w A7, 4
label00004588:
00004588 2003 move.l D0, D3
0000458A 5283 addq.l D3, 1
0000458C 2F00 move.l -[A7], D0
0000458E 4EAD DC78 jsr [A5 - 0x2388]
00004592 2648 movea.l A3, A0
00004594 2008 move.l D0, A0
00004596 584F addq.w A7, 4
00004598 66DA bne -0x24 /* 00004574 */
label0000459A:
0000459A 0C2A 0001 016A cmpi.b [A2 + 0x16A], 0x1
000045A0 6716 beq +0x18 /* 000045B8 */
000045A2 554F subq.w A7, 2
000045A4 2F0C move.l -[A7], A4
000045A6 206D 1356 movea.l A0, [A5 + 0x1356]
000045AA 4E90 jsr [A0]
000045AC 301F move.w D0, [A7]+
000045AE 6608 bne +0xA /* 000045B8 */
000045B0 2F0C move.l -[A7], A4
000045B2 4EAD E4E0 jsr [A5 - 0x1B20]
000045B6 584F addq.w A7, 4
label000045B8:
000045B8 2F0C move.l -[A7], A4
000045BA 4EAD E960 jsr [A5 - 0x16A0]
000045BE 4AAA 012C tst.l [A2 + 0x12C]
000045C2 584F addq.w A7, 4
000045C4 6706 beq +0x8 /* 000045CC */
000045C6 206A 012C movea.l A0, [A2 + 0x12C]
000045CA A049 syscall HPurge
label000045CC:
000045CC 0C2A 0004 016A cmpi.b [A2 + 0x16A], 0x4
000045D2 675A beq +0x5C /* 0000462E */
000045D4 0C2A 0006 016A cmpi.b [A2 + 0x16A], 0x6
000045DA 6752 beq +0x54 /* 0000462E */
000045DC 1F3C 0006 move.b -[A7], 0x6
000045E0 3F2A 0166 move.w -[A7], [A2 + 0x166]
000045E4 2F0C move.l -[A7], A4
000045E6 4EBA 287A jsr [PC + 0x287A /* 00006E62 */]
000045EA 4A80 tst.l D0
000045EC 504F addq.w A7, 8
000045EE 6618 bne +0x1A /* 00004608 */
000045F0 4AAD B2D8 tst.l [A5 - 0x4D28]
000045F4 6602 bne +0x4 /* 000045F8 */
000045F6 7A01 moveq.l D5, 0x01
label000045F8:
000045F8 302D B632 move.w D0, [A5 - 0x49CE]
000045FC B06A 0166 cmp.w D0, [A2 + 0x166]
00004600 6606 bne +0x8 /* 00004608 */
00004602 3B7C FFFF B632 move.w [A5 - 0x49CE], 0xFFFF
label00004608:
00004608 4AAD B2D8 tst.l [A5 - 0x4D28]
0000460C 6620 bne +0x22 /* 0000462E */
0000460E 302A 0168 move.w D0, [A2 + 0x168]
00004612 48C0 ext.l D0
00004614 4A80 tst.l D0
00004616 6D16 blt +0x18 /* 0000462E */
00004618 1F3C 0007 move.b -[A7], 0x7
0000461C 3F2A 0168 move.w -[A7], [A2 + 0x168]
00004620 2F0C move.l -[A7], A4
00004622 4EBA 283E jsr [PC + 0x283E /* 00006E62 */]
00004626 4A80 tst.l D0
00004628 504F addq.w A7, 8
0000462A 6602 bne +0x4 /* 0000462E */
0000462C 7C01 moveq.l D6, 0x01
label0000462E:
0000462E 0C2A 0004 016A cmpi.b [A2 + 0x16A], 0x4
00004634 6726 beq +0x28 /* 0000465C */
00004636 0C2A 0006 016A cmpi.b [A2 + 0x16A], 0x6
0000463C 671E beq +0x20 /* 0000465C */
0000463E 7000 moveq.l D0, 0x00
00004640 102D 81A0 move.b D0, [A5 - 0x7E60]
00004644 7202 moveq.l D1, 0x02
00004646 B081 cmp.l D0, D1
00004648 6D12 blt +0x14 /* 0000465C */
0000464A 594F subq.w A7, 4
0000464C 2F0C move.l -[A7], A4
0000464E AA96 syscall GetPalette
00004650 205F movea.l A0, [A7]+
00004652 2648 movea.l A3, A0
00004654 200B move.l D0, A3
00004656 6704 beq +0x6 /* 0000465C */
00004658 2F0B move.l -[A7], A3
0000465A AA93 syscall DisposePalette
label0000465C:
0000465C 0C2A 0004 016A cmpi.b [A2 + 0x16A], 0x4
00004662 6618 bne +0x1A /* 0000467C */
00004664 302D 135E move.w D0, [A5 + 0x135E]
00004668 48C0 ext.l D0
0000466A 0680 0000 0095 addi.l D0, 0x95
00004670 3F00 move.w -[A7], D0
00004672 4EAD DB68 jsr [A5 - 0x2498]
00004676 53AD B1BE subq.l [A5 - 0x4E42], 1
0000467A 544F addq.w A7, 2
label0000467C:
0000467C 554F subq.w A7, 2
0000467E 2F0C move.l -[A7], A4
00004680 206D 1356 movea.l A0, [A5 + 0x1356]
00004684 4E90 jsr [A0]
00004686 301F move.w D0, [A7]+
00004688 6730 beq +0x32 /* 000046BA */
0000468A 266C 0090 movea.l A3, [A4 + 0x90]
0000468E 200B move.l D0, A3
00004690 6728 beq +0x2A /* 000046BA */
00004692 302B 006C move.w D0, [A3 + 0x6C]
00004696 B06D B416 cmp.w D0, [A5 - 0x4BEA]
0000469A 661E bne +0x20 /* 000046BA */
0000469C 4A2B 016A tst.b [A3 + 0x16A]
000046A0 6618 bne +0x1A /* 000046BA */
000046A2 4878 0001 push.l 0x1
000046A6 2F0B move.l -[A7], A3
000046A8 4EAD EA48 jsr [A5 - 0x15B8]
000046AC 584F addq.w A7, 4
000046AE 2F00 move.l -[A7], D0
000046B0 2F0B move.l -[A7], A3
000046B2 4EBA BC76 jsr [PC - 0x438A /* 0000032A */]
000046B6 4FEF 000C lea.l A7, [A7 + 0xC]
label000046BA:
000046BA 2F0C move.l -[A7], A4
000046BC 4EAD DCC8 jsr [A5 - 0x2338]
000046C0 4EAD DD48 jsr [A5 - 0x22B8]
000046C4 2F0C move.l -[A7], A4
000046C6 206D 1346 movea.l A0, [A5 + 0x1346]
000046CA 4E90 jsr [A0]
000046CC 4A85 tst.l D5
000046CE 584F addq.w A7, 4
000046D0 6712 beq +0x14 /* 000046E4 */
000046D2 3F2A 0166 move.w -[A7], [A2 + 0x166]
000046D6 4EBA EA84 jsr [PC - 0x157C /* 0000315C */]
000046DA 3F2A 0166 move.w -[A7], [A2 + 0x166]
000046DE 4EAD DAFC jsr [A5 - 0x2504]
000046E2 584F addq.w A7, 4
label000046E4:
000046E4 4A86 tst.l D6
000046E6 6706 beq +0x8 /* 000046EE */
000046E8 3F2A 0168 move.w -[A7], [A2 + 0x168]
000046EC A99A syscall CloseResFile
label000046EE:
000046EE 4AAD 1312 tst.l [A5 + 0x1312 /* export_606 */]
000046F2 6616 bne +0x18 /* 0000470A */
000046F4 4878 016C push.l 0x16C
000046F8 4878 00FF push.l 0xFF
000046FC 2F0A move.l -[A7], A2
000046FE 4EAD D94C jsr [A5 - 0x26B4]
00004702 204C movea.l A0, A4
00004704 A01F syscall DisposPtr/DisposePtr
00004706 4FEF 000C lea.l A7, [A7 + 0xC]
label0000470A:
0000470A 200E move.l D0, A6
0000470C 6718 beq +0x1A /* 00004726 */
0000470E 302D 135E move.w D0, [A5 + 0x135E]
00004712 48C0 ext.l D0
00004714 0680 0000 0090 addi.l D0, 0x90
0000471A 3F00 move.w -[A7], D0
0000471C 4EAD DB68 jsr [A5 - 0x2498]
00004720 42AD ADBE clr.l [A5 - 0x5242]
00004724 544F addq.w A7, 2
label00004726:
00004726 4A97 tst.l [A7]
00004728 6718 beq +0x1A /* 00004742 */
0000472A 302D 135E move.w D0, [A5 + 0x135E]
0000472E 48C0 ext.l D0
00004730 0680 0000 0094 addi.l D0, 0x94
00004736 3F00 move.w -[A7], D0
00004738 4EAD DB68 jsr [A5 - 0x2498]
0000473C 42AD B0D2 clr.l [A5 - 0x4F2E]
00004740 544F addq.w A7, 2
label00004742:
00004742 4AAD 8D1A tst.l [A5 - 0x72E6]
00004746 6716 beq +0x18 /* 0000475E */
00004748 4AAD 8D12 tst.l [A5 - 0x72EE]
0000474C 6710 beq +0x12 /* 0000475E */
0000474E 594F subq.w A7, 4
00004750 A924 syscall FrontWindow
00004752 205F movea.l A0, [A7]+
00004754 2008 move.l D0, A0
00004756 6606 bne +0x8 /* 0000475E */
00004758 4267 clr.w -[A7]
0000475A 4EAD DF88 jsr [A5 - 0x2078]
label0000475E:
0000475E 2F0C move.l -[A7], A4
00004760 4EAD DF78 jsr [A5 - 0x2088]
00004764 584F addq.w A7, 4
label00004766:
00004766 4FEF 000C lea.l A7, [A7 + 0xC]
0000476A 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
0000476E 4E75 rts
00004770 48E7 0030 movem.l -[A7], A2,A3
00004774 594F subq.w A7, 4
00004776 A924 syscall FrontWindow
00004778 205F movea.l A0, [A7]+
0000477A 2448 movea.l A2, A0
0000477C 6020 bra +0x22 /* 0000479E */
label0000477E:
0000477E 266A 0090 movea.l A3, [A2 + 0x90]
00004782 302A 006C move.w D0, [A2 + 0x6C]
00004786 48C0 ext.l D0
00004788 4A80 tst.l D0
0000478A 6C08 bge +0xA /* 00004794 */
0000478C 3F2A 006C move.w -[A7], [A2 + 0x6C]
00004790 A9B7 syscall CloseDeskAcc
00004792 6008 bra +0xA /* 0000479C */
label00004794:
00004794 2F0A move.l -[A7], A2
00004796 4EBA FC4E jsr [PC - 0x3B2 /* 000043E6 */]
0000479A 584F addq.w A7, 4
label0000479C:
0000479C 244B movea.l A2, A3
label0000479E:
0000479E 200A move.l D0, A2
000047A0 66DC bne -0x22 /* 0000477E */
000047A2 4AAD 1312 tst.l [A5 + 0x1312 /* export_606 */]
000047A6 6704 beq +0x6 /* 000047AC */
000047A8 4EAD FC70 jsr [A5 - 0x390]
label000047AC:
000047AC 4CDF 0C00 movem.l A2,A3, [A7]+
000047B0 4E75 rts
000047B2 2F0A move.l -[A7], A2
000047B4 246F 0008 movea.l A2, [A7 + 0x8]
000047B8 B5ED ADC2 cmpa.l A2, [A5 - 0x523E]
000047BC 6608 bne +0xA /* 000047C6 */
000047BE 3F7C 0001 000C move.w [A7 + 0xC], 0x1
000047C4 6022 bra +0x24 /* 000047E8 */
label000047C6:
000047C6 B5ED B0CE cmpa.l A2, [A5 - 0x4F32]
000047CA 6608 bne +0xA /* 000047D4 */
000047CC 3F7C 0001 000C move.w [A7 + 0xC], 0x1
000047D2 6014 bra +0x16 /* 000047E8 */
label000047D4:
000047D4 302A 0166 move.w D0, [A2 + 0x166]
000047D8 B06D B632 cmp.w D0, [A5 - 0x49CE]
000047DC 57C0 seq D0
000047DE 4400 neg.b D0
000047E0 4880 ext.w D0
000047E2 48C0 ext.l D0
000047E4 3F40 000C move.w [A7 + 0xC], D0
label000047E8:
000047E8 245F movea.l A2, [A7]+
000047EA 2E9F move.l [A7], [A7]+
000047EC 4E75 rts
fn000047EE:
000047EE 48E7 1F20 movem.l -[A7], D3,D4,D5,D6,D7,A2
000047F2 4FEF FFF2 lea.l A7, [A7 - 0xE]
000047F6 246F 002A movea.l A2, [A7 + 0x2A]
000047FA 2F0A move.l -[A7], A2
000047FC 4EAD DD40 jsr [A5 - 0x22C0]
00004800 2F6D 1584 000A move.l [A7 + 0xA], [A5 + 0x1584]
00004806 2F6D 1588 000E move.l [A7 + 0xE], [A5 + 0x1588]
0000480C 4EAD E0B0 jsr [A5 - 0x1F50]
00004810 D16F 000A add.w [A7 + 0xA], D0
00004814 362F 000C move.w D3, [A7 + 0xC]
00004818 48C3 ext.l D3
0000481A 302F 0010 move.w D0, [A7 + 0x10]
0000481E 48C0 ext.l D0
00004820 9083 sub.l D0, D3
00004822 2C00 move.l D6, D0
00004824 E08E lsr D6, 8
00004826 E08E lsr D6, 8
00004828 E08E lsr D6, 8
0000482A EE8E lsr D6, 7
0000482C DC80 add.l D6, D0
0000482E E286 asr D6, 1
00004830 DC83 add.l D6, D3
00004832 4AAF 0032 tst.l [A7 + 0x32]
00004836 584F addq.w A7, 4
00004838 6724 beq +0x26 /* 0000485E */
0000483A 302F 0006 move.w D0, [A7 + 0x6]
0000483E 48C0 ext.l D0
00004840 322F 0006 move.w D1, [A7 + 0x6]
00004844 48C1 ext.l D1
00004846 342F 000A move.w D2, [A7 + 0xA]
0000484A 48C2 ext.l D2
0000484C 9481 sub.l D2, D1
0000484E 2E80 move.l [A7], D0
00004850 2002 move.l D0, D2
00004852 7203 moveq.l D1, 0x03
00004854 4EAD D904 jsr [A5 - 0x26FC]
00004858 D097 add.l D0, [A7]
0000485A 3A00 move.w D5, D0
0000485C 6024 bra +0x26 /* 00004882 */
label0000485E:
0000485E 302F 0006 move.w D0, [A7 + 0x6]
00004862 48C0 ext.l D0
00004864 3A2F 0006 move.w D5, [A7 + 0x6]
00004868 48C5 ext.l D5
0000486A 342F 000A move.w D2, [A7 + 0xA]
0000486E 48C2 ext.l D2
00004870 9485 sub.l D2, D5
00004872 2A02 move.l D5, D2
00004874 E08D lsr D5, 8
00004876 E08D lsr D5, 8
00004878 E08D lsr D5, 8
0000487A EE8D lsr D5, 7
0000487C DA82 add.l D5, D2
0000487E E285 asr D5, 1
00004880 DA80 add.l D5, D0
label00004882:
00004882 302A 0012 move.w D0, [A2 + 0x12]
00004886 48C0 ext.l D0
00004888 3E2A 0016 move.w D7, [A2 + 0x16]
0000488C 48C7 ext.l D7
0000488E 9E80 sub.l D7, D0
00004890 302A 0010 move.w D0, [A2 + 0x10]
00004894 48C0 ext.l D0
00004896 2E80 move.l [A7], D0
00004898 2F0A move.l -[A7], A2
0000489A 4EAD DD38 jsr [A5 - 0x22C8]
0000489E 3600 move.w D3, D0
000048A0 48C0 ext.l D0
000048A2 322A 0014 move.w D1, [A2 + 0x14]
000048A6 48C1 ext.l D1
000048A8 D280 add.l D1, D0
000048AA 92AF 0004 sub.l D1, [A7 + 0x4]
000048AE 3F41 0008 move.w [A7 + 0x8], D1
000048B2 3003 move.w D0, D3
000048B4 48C0 ext.l D0
000048B6 3805 move.w D4, D5
000048B8 48C4 ext.l D4
000048BA 3401 move.w D2, D1
000048BC 48C2 ext.l D2
000048BE 2F40 0004 move.l [A7 + 0x4], D0
000048C2 2002 move.l D0, D2
000048C4 E088 lsr D0, 8
000048C6 E088 lsr D0, 8
000048C8 E088 lsr D0, 8
000048CA EE88 lsr D0, 7
000048CC D082 add.l D0, D2
000048CE E280 asr D0, 1
000048D0 9880 sub.l D4, D0
000048D2 D8AF 0004 add.l D4, [A7 + 0x4]
000048D6 3A06 move.w D5, D6
000048D8 48C5 ext.l D5
000048DA 3207 move.w D1, D7
000048DC 48C1 ext.l D1
000048DE 2401 move.l D2, D1
000048E0 E08A lsr D2, 8
000048E2 E08A lsr D2, 8
000048E4 E08A lsr D2, 8
000048E6 EE8A lsr D2, 7
000048E8 D481 add.l D2, D1
000048EA E282 asr D2, 1
000048EC 9A82 sub.l D5, D2
000048EE 302F 000A move.w D0, [A7 + 0xA]
000048F2 48C0 ext.l D0
000048F4 3203 move.w D1, D3
000048F6 48C1 ext.l D1
000048F8 3404 move.w D2, D4
000048FA 48C2 ext.l D2
000048FC 9481 sub.l D2, D1
000048FE B480 cmp.l D2, D0
00004900 584F addq.w A7, 4
00004902 6E0E bgt +0x10 /* 00004912 */
00004904 3003 move.w D0, D3
00004906 48C0 ext.l D0
00004908 382F 0006 move.w D4, [A7 + 0x6]
0000490C 48C4 ext.l D4
0000490E D880 add.l D4, D0
00004910 5284 addq.l D4, 1
label00004912:
00004912 2F0A move.l -[A7], A2
00004914 3F05 move.w -[A7], D5
00004916 3F04 move.w -[A7], D4
00004918 4227 clr.b -[A7]
0000491A A91B syscall MoveWindow
0000491C 4EAD DD48 jsr [A5 - 0x22B8]
00004920 4FEF 000E lea.l A7, [A7 + 0xE]
00004924 4CDF 04F8 movem.l D3,D4,D5,D6,D7,A2, [A7]+
00004928 4E75 rts
0000492A 48E7 0030 movem.l -[A7], A2,A3
0000492E 514F subq.w A7, 8
00004930 266F 0014 movea.l A3, [A7 + 0x14]
00004934 244B movea.l A2, A3
00004936 2F0B move.l -[A7], A3
00004938 4EAD DD40 jsr [A5 - 0x22C0]
0000493C 4AAA 0154 tst.l [A2 + 0x154]
00004940 584F addq.w A7, 4
00004942 676E beq +0x70 /* 000049B2 */
00004944 4AAA 013C tst.l [A2 + 0x13C]
00004948 6768 beq +0x6A /* 000049B2 */
0000494A 42AA 0154 clr.l [A2 + 0x154]
0000494E 42A7 clr.l -[A7]
00004950 42A7 clr.l -[A7]
00004952 42A7 clr.l -[A7]
00004954 2F2A 013C move.l -[A7], [A2 + 0x13C]
00004958 4EAD DBC2 jsr [A5 - 0x243E]
0000495C 4227 clr.b -[A7]
0000495E 486F 0012 pea.l [A7 + 0x12]
00004962 486F 001A pea.l [A7 + 0x1A]
00004966 2F0A move.l -[A7], A2
00004968 4EBA 0DC8 jsr [PC + 0xDC8 /* 00005732 */]
0000496C 4FEF 001E lea.l A7, [A7 + 0x1E]
00004970 6010 bra +0x12 /* 00004982 */
label00004972:
00004972 2F2F 0004 move.l -[A7], [A7 + 0x4]
00004976 206F 0008 movea.l A0, [A7 + 0x8]
0000497A 2068 003C movea.l A0, [A0 + 0x3C]
0000497E 4E90 jsr [A0]
00004980 584F addq.w A7, 4
label00004982:
00004982 1F3C 0001 move.b -[A7], 0x1
00004986 486F 0002 pea.l [A7 + 0x2]
0000498A 486F 000A pea.l [A7 + 0xA]
0000498E 2F0A move.l -[A7], A2
00004990 4EBA 0DA0 jsr [PC + 0xDA0 /* 00005732 */]
00004994 4A80 tst.l D0
00004996 4FEF 000E lea.l A7, [A7 + 0xE]
0000499A 66D6 bne -0x28 /* 00004972 */
0000499C 1F3C 0002 move.b -[A7], 0x2
000049A0 486F 0002 pea.l [A7 + 0x2]
000049A4 486F 000A pea.l [A7 + 0xA]
000049A8 2F0A move.l -[A7], A2
000049AA 4EBA 0D86 jsr [PC + 0xD86 /* 00005732 */]
000049AE 4FEF 000E lea.l A7, [A7 + 0xE]
label000049B2:
000049B2 4AAA 013C tst.l [A2 + 0x13C]
000049B6 670C beq +0xE /* 000049C4 */
000049B8 2F0B move.l -[A7], A3
000049BA 2F2A 013C move.l -[A7], [A2 + 0x13C]
000049BE 4EAD DBC8 jsr [A5 - 0x2438]
000049C2 504F addq.w A7, 8
label000049C4:
000049C4 4EAD DD48 jsr [A5 - 0x22B8]
000049C8 504F addq.w A7, 8
000049CA 4CDF 0C00 movem.l A2,A3, [A7]+
000049CE 4E75 rts
000049D0 48E7 0030 movem.l -[A7], A2,A3
000049D4 514F subq.w A7, 8
000049D6 266F 0014 movea.l A3, [A7 + 0x14]
000049DA 244B movea.l A2, A3
000049DC 2F0B move.l -[A7], A3
000049DE 4EAD DD40 jsr [A5 - 0x22C0]
000049E2 486B 0010 pea.l [A3 + 0x10]
000049E6 4EAD DD50 jsr [A5 - 0x22B0]
000049EA 0C2A 0006 016A cmpi.b [A2 + 0x16A], 0x6
000049F0 504F addq.w A7, 8
000049F2 6718 beq +0x1A /* 00004A0C */
000049F4 0C2A 0003 016A cmpi.b [A2 + 0x16A], 0x3
000049FA 6710 beq +0x12 /* 00004A0C */
000049FC 0C2A 0004 016A cmpi.b [A2 + 0x16A], 0x4
00004A02 6708 beq +0xA /* 00004A0C */
00004A04 2F0A move.l -[A7], A2
00004A06 4EBA 2966 jsr [PC + 0x2966 /* 0000736E */]
00004A0A 584F addq.w A7, 4
label00004A0C:
00004A0C 4227 clr.b -[A7]
00004A0E 486F 0002 pea.l [A7 + 0x2]
00004A12 486F 000A pea.l [A7 + 0xA]
00004A16 2F0A move.l -[A7], A2
00004A18 4EBA 0D18 jsr [PC + 0xD18 /* 00005732 */]
00004A1C 4FEF 000E lea.l A7, [A7 + 0xE]
00004A20 6010 bra +0x12 /* 00004A32 */
label00004A22:
00004A22 2F2F 0004 move.l -[A7], [A7 + 0x4]
00004A26 206F 0008 movea.l A0, [A7 + 0x8]
00004A2A 2068 000C movea.l A0, [A0 + 0xC]
00004A2E 4E90 jsr [A0]
00004A30 584F addq.w A7, 4
label00004A32:
00004A32 1F3C 0001 move.b -[A7], 0x1
00004A36 486F 0002 pea.l [A7 + 0x2]
00004A3A 486F 000A pea.l [A7 + 0xA]
00004A3E 2F0A move.l -[A7], A2
00004A40 4EBA 0CF0 jsr [PC + 0xCF0 /* 00005732 */]
00004A44 4A80 tst.l D0
00004A46 4FEF 000E lea.l A7, [A7 + 0xE]
00004A4A 66D6 bne -0x28 /* 00004A22 */
00004A4C 1F3C 0002 move.b -[A7], 0x2
00004A50 486F 0002 pea.l [A7 + 0x2]
00004A54 486F 000A pea.l [A7 + 0xA]
00004A58 2F0A move.l -[A7], A2
00004A5A 4EBA 0CD6 jsr [PC + 0xCD6 /* 00005732 */]
00004A5E 4EAD DD58 jsr [A5 - 0x22A8]
00004A62 4EAD DD48 jsr [A5 - 0x22B8]
00004A66 4FEF 0016 lea.l A7, [A7 + 0x16]
00004A6A 4CDF 0C00 movem.l A2,A3, [A7]+
00004A6E 4E75 rts
00004A70 48E7 1030 movem.l -[A7], D3,A2,A3
00004A74 514F subq.w A7, 8
00004A76 266F 0018 movea.l A3, [A7 + 0x18]
00004A7A 262F 001C move.l D3, [A7 + 0x1C]
00004A7E 244B movea.l A2, A3
00004A80 4A83 tst.l D3
00004A82 6706 beq +0x8 /* 00004A8A */
00004A84 4A2A 016A tst.b [A2 + 0x16A]
00004A88 6676 bne +0x78 /* 00004B00 */
label00004A8A:
00004A8A 2F0B move.l -[A7], A3
00004A8C 4EAD DD40 jsr [A5 - 0x22C0]
00004A90 486B 0010 pea.l [A3 + 0x10]
00004A94 4EAD DD50 jsr [A5 - 0x22B0]
00004A98 4227 clr.b -[A7]
00004A9A 486F 000A pea.l [A7 + 0xA]
00004A9E 486F 0012 pea.l [A7 + 0x12]
00004AA2 2F0A move.l -[A7], A2
00004AA4 4EBA 0C8C jsr [PC + 0xC8C /* 00005732 */]
00004AA8 4FEF 0016 lea.l A7, [A7 + 0x16]
00004AAC 6014 bra +0x16 /* 00004AC2 */
label00004AAE:
00004AAE 2F2F 0004 move.l -[A7], [A7 + 0x4]
00004AB2 206F 0008 movea.l A0, [A7 + 0x8]
00004AB6 2068 0008 movea.l A0, [A0 + 0x8]
00004ABA 4E90 jsr [A0]
00004ABC 4A83 tst.l D3
00004ABE 584F addq.w A7, 4
00004AC0 661A bne +0x1C /* 00004ADC */
label00004AC2:
00004AC2 1F3C 0001 move.b -[A7], 0x1
00004AC6 486F 0002 pea.l [A7 + 0x2]
00004ACA 486F 000A pea.l [A7 + 0xA]
00004ACE 2F0A move.l -[A7], A2
00004AD0 4EBA 0C60 jsr [PC + 0xC60 /* 00005732 */]
00004AD4 4A80 tst.l D0
00004AD6 4FEF 000E lea.l A7, [A7 + 0xE]
00004ADA 66D2 bne -0x2C /* 00004AAE */
label00004ADC:
00004ADC 1F3C 0002 move.b -[A7], 0x2
00004AE0 486F 0002 pea.l [A7 + 0x2]
00004AE4 486F 000A pea.l [A7 + 0xA]
00004AE8 2F0A move.l -[A7], A2
00004AEA 4EBA 0C46 jsr [PC + 0xC46 /* 00005732 */]
00004AEE 2F0B move.l -[A7], A3
00004AF0 4EBA 0016 jsr [PC + 0x16 /* 00004B08 */]
00004AF4 4EAD DD58 jsr [A5 - 0x22A8]
00004AF8 4EAD DD48 jsr [A5 - 0x22B8]
00004AFC 4FEF 0012 lea.l A7, [A7 + 0x12]
label00004B00:
00004B00 504F addq.w A7, 8
00004B02 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00004B06 4E75 rts
fn00004B08:
00004B08 2F0A move.l -[A7], A2
00004B0A 4FEF FFEC lea.l A7, [A7 - 0x14]
00004B0E 246F 001C movea.l A2, [A7 + 0x1C]
00004B12 2E8A move.l [A7], A2
00004B14 204A movea.l A0, A2
00004B16 4AA8 0158 tst.l [A0 + 0x158]
00004B1A 676E beq +0x70 /* 00004B8A */
00004B1C 2F0A move.l -[A7], A2
00004B1E 4EAD DD40 jsr [A5 - 0x22C0]
00004B22 302A 0016 move.w D0, [A2 + 0x16]
00004B26 48C0 ext.l D0
00004B28 72F1 moveq.l D1, 0xFFFFFFF1
00004B2A D081 add.l D0, D1
00004B2C 3F40 0012 move.w [A7 + 0x12], D0
00004B30 3F6A 0016 0016 move.w [A7 + 0x16], [A2 + 0x16]
00004B36 302A 0014 move.w D0, [A2 + 0x14]
00004B3A 48C0 ext.l D0
00004B3C D081 add.l D0, D1
00004B3E 3F40 0010 move.w [A7 + 0x10], D0
00004B42 3F6A 0014 0014 move.w [A7 + 0x14], [A2 + 0x14]
00004B48 486F 0010 pea.l [A7 + 0x10]
00004B4C 4EAD DD50 jsr [A5 - 0x22B0]
00004B50 2F0A move.l -[A7], A2
00004B52 A904 syscall DrawGrowIcon
00004B54 4EAD DD58 jsr [A5 - 0x22A8]
00004B58 302A 0016 move.w D0, [A2 + 0x16]
00004B5C 48C0 ext.l D0
00004B5E 72F1 moveq.l D1, 0xFFFFFFF1
00004B60 D081 add.l D0, D1
00004B62 3F40 000E move.w [A7 + 0xE], D0
00004B66 3F6A 0016 0012 move.w [A7 + 0x12], [A2 + 0x16]
00004B6C 302A 0014 move.w D0, [A2 + 0x14]
00004B70 48C0 ext.l D0
00004B72 D081 add.l D0, D1
00004B74 3F40 000C move.w [A7 + 0xC], D0
00004B78 3F6A 0014 0010 move.w [A7 + 0x10], [A2 + 0x14]
00004B7E 486F 000C pea.l [A7 + 0xC]
00004B82 A92A syscall ValidRect
00004B84 4EAD DD48 jsr [A5 - 0x22B8]
00004B88 504F addq.w A7, 8
label00004B8A:
00004B8A 4FEF 0014 lea.l A7, [A7 + 0x14]
00004B8E 245F movea.l A2, [A7]+
00004B90 4E75 rts
00004B92 48E7 0038 movem.l -[A7], A2,A3,A4
00004B96 4FEF FFF4 lea.l A7, [A7 - 0xC]
00004B9A 286F 001C movea.l A4, [A7 + 0x1C]
00004B9E 266F 0020 movea.l A3, [A7 + 0x20]
00004BA2 2F6B 000A 0004 move.l [A7 + 0x4], [A3 + 0xA]
00004BA8 244C movea.l A2, A4
00004BAA 2F0C move.l -[A7], A4
00004BAC 4EAD DD40 jsr [A5 - 0x22C0]
00004BB0 486F 0008 pea.l [A7 + 0x8]
00004BB4 A871 syscall GlobalToLocal
00004BB6 4227 clr.b -[A7]
00004BB8 486F 0006 pea.l [A7 + 0x6]
00004BBC 486F 0012 pea.l [A7 + 0x12]
00004BC0 2F0A move.l -[A7], A2
00004BC2 4EBA 0B6E jsr [PC + 0xB6E /* 00005732 */]
00004BC6 4FEF 0012 lea.l A7, [A7 + 0x12]
00004BCA 6028 bra +0x2A /* 00004BF4 */
label00004BCC:
00004BCC 554F subq.w A7, 2
00004BCE 2F2F 0006 move.l -[A7], [A7 + 0x6]
00004BD2 206F 000E movea.l A0, [A7 + 0xE]
00004BD6 4868 0040 pea.l [A0 + 0x40]
00004BDA A8AD syscall PtInRect
00004BDC 101F move.b D0, [A7]+
00004BDE 6714 beq +0x16 /* 00004BF4 */
00004BE0 2F0B move.l -[A7], A3
00004BE2 2F2F 000C move.l -[A7], [A7 + 0xC]
00004BE6 206F 0010 movea.l A0, [A7 + 0x10]
00004BEA 2068 0010 movea.l A0, [A0 + 0x10]
00004BEE 4E90 jsr [A0]
00004BF0 504F addq.w A7, 8
00004BF2 601A bra +0x1C /* 00004C0E */
label00004BF4:
00004BF4 1F3C 0001 move.b -[A7], 0x1
00004BF8 486F 0002 pea.l [A7 + 0x2]
00004BFC 486F 000E pea.l [A7 + 0xE]
00004C00 2F0A move.l -[A7], A2
00004C02 4EBA 0B2E jsr [PC + 0xB2E /* 00005732 */]
00004C06 4A80 tst.l D0
00004C08 4FEF 000E lea.l A7, [A7 + 0xE]
00004C0C 66BE bne -0x40 /* 00004BCC */
label00004C0E:
00004C0E 1F3C 0002 move.b -[A7], 0x2
00004C12 486F 0002 pea.l [A7 + 0x2]
00004C16 486F 000E pea.l [A7 + 0xE]
00004C1A 2F0A move.l -[A7], A2
00004C1C 4EBA 0B14 jsr [PC + 0xB14 /* 00005732 */]
00004C20 4EAD E968 jsr [A5 - 0x1698]
00004C24 4EAD DD48 jsr [A5 - 0x22B8]
00004C28 4FEF 001A lea.l A7, [A7 + 0x1A]
00004C2C 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00004C30 4E75 rts
00004C32 48E7 1030 movem.l -[A7], D3,A2,A3
00004C36 514F subq.w A7, 8
00004C38 266F 0018 movea.l A3, [A7 + 0x18]
00004C3C 262F 001C move.l D3, [A7 + 0x1C]
00004C40 244B movea.l A2, A3
00004C42 2F0B move.l -[A7], A3
00004C44 4EAD DD40 jsr [A5 - 0x22C0]
00004C48 4227 clr.b -[A7]
00004C4A 486F 0006 pea.l [A7 + 0x6]
00004C4E 486F 000E pea.l [A7 + 0xE]
00004C52 2F0A move.l -[A7], A2
00004C54 4EBA 0ADC jsr [PC + 0xADC /* 00005732 */]
00004C58 4FEF 0012 lea.l A7, [A7 + 0x12]
00004C5C 6012 bra +0x14 /* 00004C70 */
label00004C5E:
00004C5E 2F03 move.l -[A7], D3
00004C60 2F2F 0008 move.l -[A7], [A7 + 0x8]
00004C64 206F 000C movea.l A0, [A7 + 0xC]
00004C68 2068 0018 movea.l A0, [A0 + 0x18]
00004C6C 4E90 jsr [A0]
00004C6E 504F addq.w A7, 8
label00004C70:
00004C70 1F3C 0001 move.b -[A7], 0x1
00004C74 486F 0002 pea.l [A7 + 0x2]
00004C78 486F 000A pea.l [A7 + 0xA]
00004C7C 2F0A move.l -[A7], A2
00004C7E 4EBA 0AB2 jsr [PC + 0xAB2 /* 00005732 */]
00004C82 4A80 tst.l D0
00004C84 4FEF 000E lea.l A7, [A7 + 0xE]
00004C88 66D4 bne -0x2A /* 00004C5E */
00004C8A 1F3C 0002 move.b -[A7], 0x2
00004C8E 486F 0002 pea.l [A7 + 0x2]
00004C92 486F 000A pea.l [A7 + 0xA]
00004C96 2F0A move.l -[A7], A2
00004C98 4EBA 0A98 jsr [PC + 0xA98 /* 00005732 */]
00004C9C 4EAD E968 jsr [A5 - 0x1698]
00004CA0 4EAD DD48 jsr [A5 - 0x22B8]
00004CA4 4FEF 0016 lea.l A7, [A7 + 0x16]
00004CA8 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00004CAC 4E75 rts
00004CAE 48E7 1030 movem.l -[A7], D3,A2,A3
00004CB2 514F subq.w A7, 8
00004CB4 266F 0018 movea.l A3, [A7 + 0x18]
00004CB8 262F 001C move.l D3, [A7 + 0x1C]
00004CBC 244B movea.l A2, A3
00004CBE 2F0B move.l -[A7], A3
00004CC0 4EAD DD40 jsr [A5 - 0x22C0]
00004CC4 4227 clr.b -[A7]
00004CC6 486F 0006 pea.l [A7 + 0x6]
00004CCA 486F 000E pea.l [A7 + 0xE]
00004CCE 2F0A move.l -[A7], A2
00004CD0 4EBA 0A60 jsr [PC + 0xA60 /* 00005732 */]
00004CD4 4FEF 0012 lea.l A7, [A7 + 0x12]
00004CD8 6012 bra +0x14 /* 00004CEC */
label00004CDA:
00004CDA 2F03 move.l -[A7], D3
00004CDC 2F2F 0008 move.l -[A7], [A7 + 0x8]
00004CE0 206F 000C movea.l A0, [A7 + 0xC]
00004CE4 2068 0038 movea.l A0, [A0 + 0x38]
00004CE8 4E90 jsr [A0]
00004CEA 504F addq.w A7, 8
label00004CEC:
00004CEC 1F3C 0001 move.b -[A7], 0x1
00004CF0 486F 0002 pea.l [A7 + 0x2]
00004CF4 486F 000A pea.l [A7 + 0xA]
00004CF8 2F0A move.l -[A7], A2
00004CFA 4EBA 0A36 jsr [PC + 0xA36 /* 00005732 */]
00004CFE 4A80 tst.l D0
00004D00 4FEF 000E lea.l A7, [A7 + 0xE]
00004D04 66D4 bne -0x2A /* 00004CDA */
00004D06 1F3C 0002 move.b -[A7], 0x2
00004D0A 486F 0002 pea.l [A7 + 0x2]
00004D0E 486F 000A pea.l [A7 + 0xA]
00004D12 2F0A move.l -[A7], A2
00004D14 4EBA 0A1C jsr [PC + 0xA1C /* 00005732 */]
00004D18 4EAD DD48 jsr [A5 - 0x22B8]
00004D1C 4FEF 0016 lea.l A7, [A7 + 0x16]
00004D20 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00004D24 4E75 rts
00004D26 48E7 1030 movem.l -[A7], D3,A2,A3
00004D2A 514F subq.w A7, 8
00004D2C 266F 0018 movea.l A3, [A7 + 0x18]
00004D30 262F 001C move.l D3, [A7 + 0x1C]
00004D34 244B movea.l A2, A3
00004D36 4A83 tst.l D3
00004D38 6740 beq +0x42 /* 00004D7A */
00004D3A 2F0B move.l -[A7], A3
00004D3C 4EAD DFA8 jsr [A5 - 0x2058]
00004D40 2F0B move.l -[A7], A3
00004D42 4EAD DBCE jsr [A5 - 0x2432]
00004D46 4A2A 016A tst.b [A2 + 0x16A]
00004D4A 504F addq.w A7, 8
00004D4C 6638 bne +0x3A /* 00004D86 */
00004D4E 302D B632 move.w D0, [A5 - 0x49CE]
00004D52 B06A 0166 cmp.w D0, [A2 + 0x166]
00004D56 672E beq +0x30 /* 00004D86 */
00004D58 42A7 clr.l -[A7]
00004D5A 3F2D B632 move.w -[A7], [A5 - 0x49CE]
00004D5E 4EBA 21AA jsr [PC + 0x21AA /* 00006F0A */]
00004D62 3B6A 0166 B632 move.w [A5 - 0x49CE], [A2 + 0x166]
00004D68 4878 0001 push.l 0x1
00004D6C 3F2D B632 move.w -[A7], [A5 - 0x49CE]
00004D70 4EBA 2198 jsr [PC + 0x2198 /* 00006F0A */]
00004D74 4FEF 000C lea.l A7, [A7 + 0xC]
00004D78 600C bra +0xE /* 00004D86 */
label00004D7A:
00004D7A 4878 0001 push.l 0x1
00004D7E 2F0B move.l -[A7], A3
00004D80 4EAD E480 jsr [A5 - 0x1B80]
00004D84 504F addq.w A7, 8
label00004D86:
00004D86 2F0B move.l -[A7], A3
00004D88 4EAD DD40 jsr [A5 - 0x22C0]
00004D8C 42A7 clr.l -[A7]
00004D8E 4EAD DD50 jsr [A5 - 0x22B0]
00004D92 486B 0010 pea.l [A3 + 0x10]
00004D96 2F0B move.l -[A7], A3
00004D98 4EAD DDA8 jsr [A5 - 0x2258]
00004D9C 4227 clr.b -[A7]
00004D9E 486F 0012 pea.l [A7 + 0x12]
00004DA2 486F 001A pea.l [A7 + 0x1A]
00004DA6 2F0A move.l -[A7], A2
00004DA8 4EBA 0988 jsr [PC + 0x988 /* 00005732 */]
00004DAC 4FEF 001E lea.l A7, [A7 + 0x1E]
00004DB0 6012 bra +0x14 /* 00004DC4 */
label00004DB2:
00004DB2 2F03 move.l -[A7], D3
00004DB4 2F2F 0008 move.l -[A7], [A7 + 0x8]
00004DB8 206F 000C movea.l A0, [A7 + 0xC]
00004DBC 2068 0014 movea.l A0, [A0 + 0x14]
00004DC0 4E90 jsr [A0]
00004DC2 504F addq.w A7, 8
label00004DC4:
00004DC4 1F3C 0001 move.b -[A7], 0x1
00004DC8 486F 0002 pea.l [A7 + 0x2]
00004DCC 486F 000A pea.l [A7 + 0xA]
00004DD0 2F0A move.l -[A7], A2
00004DD2 4EBA 095E jsr [PC + 0x95E /* 00005732 */]
00004DD6 4A80 tst.l D0
00004DD8 4FEF 000E lea.l A7, [A7 + 0xE]
00004DDC 66D4 bne -0x2A /* 00004DB2 */
00004DDE 1F3C 0002 move.b -[A7], 0x2
00004DE2 486F 0002 pea.l [A7 + 0x2]
00004DE6 486F 000A pea.l [A7 + 0xA]
00004DEA 2F0A move.l -[A7], A2
00004DEC 4EBA 0944 jsr [PC + 0x944 /* 00005732 */]
00004DF0 4EAD DD58 jsr [A5 - 0x22A8]
00004DF4 4A83 tst.l D3
00004DF6 4FEF 000E lea.l A7, [A7 + 0xE]
00004DFA 6742 beq +0x44 /* 00004E3E */
00004DFC 554F subq.w A7, 2
00004DFE 2F0B move.l -[A7], A3
00004E00 206D 1356 movea.l A0, [A5 + 0x1356]
00004E04 4E90 jsr [A0]
00004E06 301F move.w D0, [A7]+
00004E08 6734 beq +0x36 /* 00004E3E */
00004E0A 246B 0090 movea.l A2, [A3 + 0x90]
00004E0E 200A move.l D0, A2
00004E10 672C beq +0x2E /* 00004E3E */
00004E12 302A 006C move.w D0, [A2 + 0x6C]
00004E16 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00004E1A 6622 bne +0x24 /* 00004E3E */
00004E1C 4A2A 016A tst.b [A2 + 0x16A]
00004E20 661C bne +0x1E /* 00004E3E */
00004E22 42A7 clr.l -[A7]
00004E24 2F0A move.l -[A7], A2
00004E26 4EAD EA48 jsr [A5 - 0x15B8]
00004E2A 584F addq.w A7, 4
00004E2C 2F00 move.l -[A7], D0
00004E2E 2F0A move.l -[A7], A2
00004E30 4EBA B4F8 jsr [PC - 0x4B08 /* 0000032A */]
00004E34 2F0A move.l -[A7], A2
00004E36 4EAD EA30 jsr [A5 - 0x15D0]
00004E3A 4FEF 0010 lea.l A7, [A7 + 0x10]
label00004E3E:
00004E3E 4EAD DD48 jsr [A5 - 0x22B8]
00004E42 504F addq.w A7, 8
00004E44 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00004E48 4E75 rts
00004E4A 48E7 0030 movem.l -[A7], A2,A3
00004E4E 514F subq.w A7, 8
00004E50 266F 0014 movea.l A3, [A7 + 0x14]
00004E54 244B movea.l A2, A3
00004E56 4A2B 006F tst.b [A3 + 0x6F]
00004E5A 6760 beq +0x62 /* 00004EBC */
00004E5C 2F0B move.l -[A7], A3
00004E5E 4EAD DD40 jsr [A5 - 0x22C0]
00004E62 4227 clr.b -[A7]
00004E64 486F 0006 pea.l [A7 + 0x6]
00004E68 486F 000E pea.l [A7 + 0xE]
00004E6C 2F0A move.l -[A7], A2
00004E6E 4EBA 08C2 jsr [PC + 0x8C2 /* 00005732 */]
00004E72 4FEF 0012 lea.l A7, [A7 + 0x12]
00004E76 6010 bra +0x12 /* 00004E88 */
label00004E78:
00004E78 2F2F 0004 move.l -[A7], [A7 + 0x4]
00004E7C 206F 0008 movea.l A0, [A7 + 0x8]
00004E80 2068 001C movea.l A0, [A0 + 0x1C]
00004E84 4E90 jsr [A0]
00004E86 584F addq.w A7, 4
label00004E88:
00004E88 1F3C 0001 move.b -[A7], 0x1
00004E8C 486F 0002 pea.l [A7 + 0x2]
00004E90 486F 000A pea.l [A7 + 0xA]
00004E94 2F0A move.l -[A7], A2
00004E96 4EBA 089A jsr [PC + 0x89A /* 00005732 */]
00004E9A 4A80 tst.l D0
00004E9C 4FEF 000E lea.l A7, [A7 + 0xE]
00004EA0 66D6 bne -0x28 /* 00004E78 */
00004EA2 1F3C 0002 move.b -[A7], 0x2
00004EA6 486F 0002 pea.l [A7 + 0x2]
00004EAA 486F 000A pea.l [A7 + 0xA]
00004EAE 2F0A move.l -[A7], A2
00004EB0 4EBA 0880 jsr [PC + 0x880 /* 00005732 */]
00004EB4 4EAD DD48 jsr [A5 - 0x22B8]
00004EB8 4FEF 000E lea.l A7, [A7 + 0xE]
label00004EBC:
00004EBC 4EAD E968 jsr [A5 - 0x1698]
00004EC0 3F2A 0166 move.w -[A7], [A2 + 0x166]
00004EC4 4EBA EA02 jsr [PC - 0x15FE /* 000038C8 */]
00004EC8 4FEF 000A lea.l A7, [A7 + 0xA]
00004ECC 4CDF 0C00 movem.l A2,A3, [A7]+
00004ED0 4E75 rts
00004ED2 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00004ED6 4FEF FFE8 lea.l A7, [A7 - 0x18]
00004EDA 266F 002C movea.l A3, [A7 + 0x2C]
00004EDE 244B movea.l A2, A3
00004EE0 0C2A 0003 016A cmpi.b [A2 + 0x16A], 0x3
00004EE6 671A beq +0x1C /* 00004F02 */
00004EE8 0C2A 0004 016A cmpi.b [A2 + 0x16A], 0x4
00004EEE 6712 beq +0x14 /* 00004F02 */
00004EF0 0C2A 0006 016A cmpi.b [A2 + 0x16A], 0x6
00004EF6 670A beq +0xC /* 00004F02 */
00004EF8 42A7 clr.l -[A7]
00004EFA 2F0B move.l -[A7], A3
00004EFC 4EAD EA70 jsr [A5 - 0x1590]
00004F00 504F addq.w A7, 8
label00004F02:
00004F02 486F 000C pea.l [A7 + 0xC]
00004F06 2F0A move.l -[A7], A2
00004F08 4EBA 1BFA jsr [PC + 0x1BFA /* 00006B04 */]
00004F0C 302B 0012 move.w D0, [A3 + 0x12]
00004F10 48C0 ext.l D0
00004F12 322B 0016 move.w D1, [A3 + 0x16]
00004F16 48C1 ext.l D1
00004F18 9280 sub.l D1, D0
00004F1A 302F 001A move.w D0, [A7 + 0x1A]
00004F1E 48C0 ext.l D0
00004F20 B081 cmp.l D0, D1
00004F22 504F addq.w A7, 8
00004F24 6604 bne +0x6 /* 00004F2A */
00004F26 526F 0012 addq.w [A7 + 0x12], 1
label00004F2A:
00004F2A 302B 0010 move.w D0, [A3 + 0x10]
00004F2E 48C0 ext.l D0
00004F30 322B 0014 move.w D1, [A3 + 0x14]
00004F34 48C1 ext.l D1
00004F36 9280 sub.l D1, D0
00004F38 302F 0010 move.w D0, [A7 + 0x10]
00004F3C 48C0 ext.l D0
00004F3E B081 cmp.l D0, D1
00004F40 6604 bne +0x6 /* 00004F46 */
00004F42 526F 0010 addq.w [A7 + 0x10], 1
label00004F46:
00004F46 362F 000E move.w D3, [A7 + 0xE]
00004F4A 48C3 ext.l D3
00004F4C 302F 0012 move.w D0, [A7 + 0x12]
00004F50 48C0 ext.l D0
00004F52 B083 cmp.l D0, D3
00004F54 6608 bne +0xA /* 00004F5E */
00004F56 2003 move.l D0, D3
00004F58 5280 addq.l D0, 1
00004F5A 3F40 0012 move.w [A7 + 0x12], D0
label00004F5E:
00004F5E 302F 0010 move.w D0, [A7 + 0x10]
00004F62 B06F 000C cmp.w D0, [A7 + 0xC]
00004F66 660C bne +0xE /* 00004F74 */
00004F68 302F 000C move.w D0, [A7 + 0xC]
00004F6C 48C0 ext.l D0
00004F6E 5280 addq.l D0, 1
00004F70 3F40 0010 move.w [A7 + 0x10], D0
label00004F74:
00004F74 594F subq.w A7, 4
00004F76 2F0B move.l -[A7], A3
00004F78 2F2F 0038 move.l -[A7], [A7 + 0x38]
00004F7C 486F 0018 pea.l [A7 + 0x18]
00004F80 A92B syscall GrowWindow
00004F82 201F move.l D0, [A7]+
00004F84 2600 move.l D3, D0
00004F86 6700 00EC beq +0xEE /* 00005074 */
00004F8A 3803 move.w D4, D3
00004F8C 2F0B move.l -[A7], A3
00004F8E 4EAD DD40 jsr [A5 - 0x22C0]
00004F92 302B 0016 move.w D0, [A3 + 0x16]
00004F96 48C0 ext.l D0
00004F98 72F1 moveq.l D1, 0xFFFFFFF1
00004F9A D081 add.l D0, D1
00004F9C 3F40 0012 move.w [A7 + 0x12], D0
00004FA0 3F6B 0016 0016 move.w [A7 + 0x16], [A3 + 0x16]
00004FA6 302B 0014 move.w D0, [A3 + 0x14]
00004FAA 48C0 ext.l D0
00004FAC D081 add.l D0, D1
00004FAE 3F40 0010 move.w [A7 + 0x10], D0
00004FB2 3F6B 0014 0014 move.w [A7 + 0x14], [A3 + 0x14]
00004FB8 4227 clr.b -[A7]
00004FBA 486F 000E pea.l [A7 + 0xE]
00004FBE 486F 001E pea.l [A7 + 0x1E]
00004FC2 2F0A move.l -[A7], A2
00004FC4 4EBA 076C jsr [PC + 0x76C /* 00005732 */]
00004FC8 4FEF 0012 lea.l A7, [A7 + 0x12]
00004FCC 6014 bra +0x16 /* 00004FE2 */
label00004FCE:
00004FCE 1F3C 0001 move.b -[A7], 0x1
00004FD2 2F2F 0016 move.l -[A7], [A7 + 0x16]
00004FD6 206F 001A movea.l A0, [A7 + 0x1A]
00004FDA 2068 0024 movea.l A0, [A0 + 0x24]
00004FDE 4E90 jsr [A0]
00004FE0 5C4F addq.w A7, 6
label00004FE2:
00004FE2 1F3C 0001 move.b -[A7], 0x1
00004FE6 486F 000A pea.l [A7 + 0xA]
00004FEA 486F 001A pea.l [A7 + 0x1A]
00004FEE 2F0A move.l -[A7], A2
00004FF0 4EBA 0740 jsr [PC + 0x740 /* 00005732 */]
00004FF4 4A80 tst.l D0
00004FF6 4FEF 000E lea.l A7, [A7 + 0xE]
00004FFA 66D2 bne -0x2C /* 00004FCE */
00004FFC 1F3C 0002 move.b -[A7], 0x2
00005000 486F 000A pea.l [A7 + 0xA]
00005004 486F 001A pea.l [A7 + 0x1A]
00005008 2F0A move.l -[A7], A2
0000500A 4EBA 0726 jsr [PC + 0x726 /* 00005732 */]
0000500E 2F0B move.l -[A7], A3
00005010 3F04 move.w -[A7], D4
00005012 2003 move.l D0, D3
00005014 7210 moveq.l D1, 0x10
00005016 E2A0 asr D0, D1
00005018 3F00 move.w -[A7], D0
0000501A 1F3C 0001 move.b -[A7], 0x1
0000501E A91D syscall SizeWindow
00005020 1F3C 0001 move.b -[A7], 0x1
00005024 2F0A move.l -[A7], A2
00005026 4EBA 1DA4 jsr [PC + 0x1DA4 /* 00006DCC */]
0000502A 4AAA 0158 tst.l [A2 + 0x158]
0000502E 4FEF 0014 lea.l A7, [A7 + 0x14]
00005032 6738 beq +0x3A /* 0000506C */
00005034 302B 0016 move.w D0, [A3 + 0x16]
00005038 48C0 ext.l D0
0000503A 72F1 moveq.l D1, 0xFFFFFFF1
0000503C D081 add.l D0, D1
0000503E 3F40 0002 move.w [A7 + 0x2], D0
00005042 3F6B 0016 0006 move.w [A7 + 0x6], [A3 + 0x16]
00005048 302B 0014 move.w D0, [A3 + 0x14]
0000504C 48C0 ext.l D0
0000504E D081 add.l D0, D1
00005050 3E80 move.w [A7], D0
00005052 3F6B 0014 0004 move.w [A7 + 0x4], [A3 + 0x14]
00005058 486F 000C pea.l [A7 + 0xC]
0000505C A928 syscall InvalRect
0000505E 486F 000C pea.l [A7 + 0xC]
00005062 A8A3 syscall EraseRect
00005064 4857 pea.l [A7]
00005066 A928 syscall InvalRect
00005068 4857 pea.l [A7]
0000506A A8A3 syscall EraseRect
label0000506C:
0000506C 4EAD E968 jsr [A5 - 0x1698]
00005070 4EAD DD48 jsr [A5 - 0x22B8]
label00005074:
00005074 4FEF 0018 lea.l A7, [A7 + 0x18]
00005078 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000507C 4E75 rts
0000507E 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00005082 4FEF FFEC lea.l A7, [A7 - 0x14]
00005086 266F 003C movea.l A3, [A7 + 0x3C]
0000508A 362F 0040 move.w D3, [A7 + 0x40]
0000508E 42A7 clr.l -[A7]
00005090 2F0B move.l -[A7], A3
00005092 4EAD EA70 jsr [A5 - 0x1590]
00005096 2F0B move.l -[A7], A3
00005098 4EAD DD40 jsr [A5 - 0x22C0]
0000509C 0C43 0007 cmpi.w D3, 0x7
000050A0 4FEF 000C lea.l A7, [A7 + 0xC]
000050A4 662E bne +0x30 /* 000050D4 */
000050A6 206B 0082 movea.l A0, [A3 + 0x82]
000050AA 2450 movea.l A2, [A0]
000050AC 554F subq.w A7, 2
000050AE 486A 0008 pea.l [A2 + 0x8]
000050B2 2F0A move.l -[A7], A2
000050B4 A8A6 syscall EqualRect
000050B6 101F move.b D0, [A7]+
000050B8 6704 beq +0x6 /* 000050BE */
000050BA 7608 moveq.l D3, 0x08
000050BC 6016 bra +0x18 /* 000050D4 */
label000050BE:
000050BE 554F subq.w A7, 2
000050C0 206B 0076 movea.l A0, [A3 + 0x76]
000050C4 2050 movea.l A0, [A0]
000050C6 4868 0002 pea.l [A0 + 0x2]
000050CA 2F0A move.l -[A7], A2
000050CC A8A6 syscall EqualRect
000050CE 101F move.b D0, [A7]+
000050D0 6702 beq +0x4 /* 000050D4 */
000050D2 7608 moveq.l D3, 0x08
label000050D4:
000050D4 7000 moveq.l D0, 0x00
000050D6 102D 81A0 move.b D0, [A5 - 0x7E60]
000050DA 7202 moveq.l D1, 0x02
000050DC B081 cmp.l D0, D1
000050DE 6D00 0148 blt +0x14A /* 00005228 */
000050E2 0C43 0008 cmpi.w D3, 0x8
000050E6 6600 0140 bne +0x142 /* 00005228 */
000050EA 7800 moveq.l D4, 0x00
000050EC 2F0B move.l -[A7], A3
000050EE 4EBA 187E jsr [PC + 0x187E /* 0000696E */]
000050F2 486F 0010 pea.l [A7 + 0x10]
000050F6 2F0B move.l -[A7], A3
000050F8 4EBA 1A0A jsr [PC + 0x1A0A /* 00006B04 */]
000050FC 206B 0082 movea.l A0, [A3 + 0x82]
00005100 2450 movea.l A2, [A0]
00005102 302A 000A move.w D0, [A2 + 0xA]
00005106 48C0 ext.l D0
00005108 3A2A 000E move.w D5, [A2 + 0xE]
0000510C 48C5 ext.l D5
0000510E 9A80 sub.l D5, D0
00005110 302F 001E move.w D0, [A7 + 0x1E]
00005114 48C0 ext.l D0
00005116 B085 cmp.l D0, D5
00005118 4FEF 000C lea.l A7, [A7 + 0xC]
0000511C 6F04 ble +0x6 /* 00005122 */
0000511E 3F45 0012 move.w [A7 + 0x12], D5
label00005122:
00005122 302A 0008 move.w D0, [A2 + 0x8]
00005126 48C0 ext.l D0
00005128 3C2A 000C move.w D6, [A2 + 0xC]
0000512C 48C6 ext.l D6
0000512E 9C80 sub.l D6, D0
00005130 302F 0010 move.w D0, [A7 + 0x10]
00005134 48C0 ext.l D0
00005136 B086 cmp.l D0, D6
00005138 6F04 ble +0x6 /* 0000513E */
0000513A 3F46 0010 move.w [A7 + 0x10], D6
label0000513E:
0000513E 2F6A 0008 0004 move.l [A7 + 0x4], [A2 + 0x8]
00005144 2F6A 000C 0008 move.l [A7 + 0x8], [A2 + 0xC]
0000514A 3E2F 0012 move.w D7, [A7 + 0x12]
0000514E 48C7 ext.l D7
00005150 302A 000A move.w D0, [A2 + 0xA]
00005154 48C0 ext.l D0
00005156 322A 000E move.w D1, [A2 + 0xE]
0000515A 48C1 ext.l D1
0000515C 9280 sub.l D1, D0
0000515E B287 cmp.l D1, D7
00005160 6F0E ble +0x10 /* 00005170 */
00005162 302A 000A move.w D0, [A2 + 0xA]
00005166 48C0 ext.l D0
00005168 D087 add.l D0, D7
0000516A 3540 000E move.w [A2 + 0xE], D0
0000516E 7801 moveq.l D4, 0x01
label00005170:
00005170 302F 0010 move.w D0, [A7 + 0x10]
00005174 48C0 ext.l D0
00005176 2840 movea.l A4, D0
00005178 302A 0008 move.w D0, [A2 + 0x8]
0000517C 48C0 ext.l D0
0000517E 322A 000C move.w D1, [A2 + 0xC]
00005182 48C1 ext.l D1
00005184 9280 sub.l D1, D0
00005186 B28C cmp.l D1, A4
00005188 6F0E ble +0x10 /* 00005198 */
0000518A 302A 0008 move.w D0, [A2 + 0x8]
0000518E 48C0 ext.l D0
00005190 D08C add.l D0, A4
00005192 3540 000C move.w [A2 + 0xC], D0
00005196 7801 moveq.l D4, 0x01
label00005198:
00005198 4A84 tst.l D4
0000519A 6772 beq +0x74 /* 0000520E */
0000519C 486A 0008 pea.l [A2 + 0x8]
000051A0 302A 000A move.w D0, [A2 + 0xA]
000051A4 48C0 ext.l D0
000051A6 322A 0002 move.w D1, [A2 + 0x2]
000051AA 48C1 ext.l D1
000051AC 9280 sub.l D1, D0
000051AE 3F01 move.w -[A7], D1
000051B0 302A 0008 move.w D0, [A2 + 0x8]
000051B4 48C0 ext.l D0
000051B6 3212 move.w D1, [A2]
000051B8 48C1 ext.l D1
000051BA 9280 sub.l D1, D0
000051BC 3F01 move.w -[A7], D1
000051BE A8A8 syscall OffsetRect
000051C0 302F 000A move.w D0, [A7 + 0xA]
000051C4 48C0 ext.l D0
000051C6 2C40 movea.l A6, D0
000051C8 302A 000E move.w D0, [A2 + 0xE]
000051CC 48C0 ext.l D0
000051CE B08E cmp.l D0, A6
000051D0 6F14 ble +0x16 /* 000051E6 */
000051D2 486A 0008 pea.l [A2 + 0x8]
000051D6 302A 000E move.w D0, [A2 + 0xE]
000051DA 48C0 ext.l D0
000051DC 220E move.l D1, A6
000051DE 9280 sub.l D1, D0
000051E0 3F01 move.w -[A7], D1
000051E2 4267 clr.w -[A7]
000051E4 A8A8 syscall OffsetRect
label000051E6:
000051E6 302F 0008 move.w D0, [A7 + 0x8]
000051EA 48C0 ext.l D0
000051EC 2E80 move.l [A7], D0
000051EE 302A 000C move.w D0, [A2 + 0xC]
000051F2 48C0 ext.l D0
000051F4 B097 cmp.l D0, [A7]
000051F6 6F16 ble +0x18 /* 0000520E */
000051F8 486A 0008 pea.l [A2 + 0x8]
000051FC 4267 clr.w -[A7]
000051FE 302A 000C move.w D0, [A2 + 0xC]
00005202 48C0 ext.l D0
00005204 222F 0006 move.l D1, [A7 + 0x6]
00005208 9280 sub.l D1, D0
0000520A 3F01 move.w -[A7], D1
0000520C A8A8 syscall OffsetRect
label0000520E:
0000520E 554F subq.w A7, 2
00005210 206B 0076 movea.l A0, [A3 + 0x76]
00005214 2050 movea.l A0, [A0]
00005216 4868 0002 pea.l [A0 + 0x2]
0000521A 486A 0008 pea.l [A2 + 0x8]
0000521E A8A6 syscall EqualRect
00005220 101F move.b D0, [A7]+
00005222 6728 beq +0x2A /* 0000524C */
00005224 7607 moveq.l D3, 0x07
00005226 6024 bra +0x26 /* 0000524C */
label00005228:
00005228 0C43 0008 cmpi.w D3, 0x8
0000522C 661E bne +0x20 /* 0000524C */
0000522E 206B 0082 movea.l A0, [A3 + 0x82]
00005232 2450 movea.l A2, [A0]
00005234 554F subq.w A7, 2
00005236 206B 0076 movea.l A0, [A3 + 0x76]
0000523A 2050 movea.l A0, [A0]
0000523C 4868 0002 pea.l [A0 + 0x2]
00005240 486A 0008 pea.l [A2 + 0x8]
00005244 A8A6 syscall EqualRect
00005246 101F move.b D0, [A7]+
00005248 6702 beq +0x4 /* 0000524C */
0000524A 7607 moveq.l D3, 0x07
label0000524C:
0000524C 486B 0010 pea.l [A3 + 0x10]
00005250 A8A3 syscall EraseRect
00005252 2F0B move.l -[A7], A3
00005254 3F03 move.w -[A7], D3
00005256 4227 clr.b -[A7]
00005258 A83A syscall ZoomWindow
0000525A 1F3C 0001 move.b -[A7], 0x1
0000525E 2F0B move.l -[A7], A3
00005260 4EBA 1B6A jsr [PC + 0x1B6A /* 00006DCC */]
00005264 4EAD E968 jsr [A5 - 0x1698]
00005268 4EAD DD48 jsr [A5 - 0x22B8]
0000526C 4FEF 001A lea.l A7, [A7 + 0x1A]
00005270 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00005274 4E75 rts
00005276 48E7 1830 movem.l -[A7], D3,D4,A2,A3
0000527A 514F subq.w A7, 8
0000527C 266F 001C movea.l A3, [A7 + 0x1C]
00005280 182F 0022 move.b D4, [A7 + 0x22]
00005284 362F 0024 move.w D3, [A7 + 0x24]
00005288 244B movea.l A2, A3
0000528A 3F03 move.w -[A7], D3
0000528C 1F04 move.b -[A7], D4
0000528E 1F2F 0024 move.b -[A7], [A7 + 0x24]
00005292 2F0A move.l -[A7], A2
00005294 4EBA 1CB8 jsr [PC + 0x1CB8 /* 00006F4E */]
00005298 4A80 tst.l D0
0000529A 4FEF 000A lea.l A7, [A7 + 0xA]
0000529E 666C bne +0x6E /* 0000530C */
000052A0 2F0B move.l -[A7], A3
000052A2 4EAD DD40 jsr [A5 - 0x22C0]
000052A6 4227 clr.b -[A7]
000052A8 486F 0006 pea.l [A7 + 0x6]
000052AC 486F 000E pea.l [A7 + 0xE]
000052B0 2F0A move.l -[A7], A2
000052B2 4EBA 047E jsr [PC + 0x47E /* 00005732 */]
000052B6 4FEF 0012 lea.l A7, [A7 + 0x12]
000052BA 6018 bra +0x1A /* 000052D4 */
label000052BC:
000052BC 3F03 move.w -[A7], D3
000052BE 1F04 move.b -[A7], D4
000052C0 2F2F 0008 move.l -[A7], [A7 + 0x8]
000052C4 206F 000C movea.l A0, [A7 + 0xC]
000052C8 2068 002C movea.l A0, [A0 + 0x2C]
000052CC 4E90 jsr [A0]
000052CE 4A80 tst.l D0
000052D0 504F addq.w A7, 8
000052D2 661A bne +0x1C /* 000052EE */
label000052D4:
000052D4 1F3C 0001 move.b -[A7], 0x1
000052D8 486F 0002 pea.l [A7 + 0x2]
000052DC 486F 000A pea.l [A7 + 0xA]
000052E0 2F0A move.l -[A7], A2
000052E2 4EBA 044E jsr [PC + 0x44E /* 00005732 */]
000052E6 4A80 tst.l D0
000052E8 4FEF 000E lea.l A7, [A7 + 0xE]
000052EC 66CE bne -0x30 /* 000052BC */
label000052EE:
000052EE 1F3C 0002 move.b -[A7], 0x2
000052F2 486F 0002 pea.l [A7 + 0x2]
000052F6 486F 000A pea.l [A7 + 0xA]
000052FA 2F0A move.l -[A7], A2
000052FC 4EBA 0434 jsr [PC + 0x434 /* 00005732 */]
00005300 4EAD E968 jsr [A5 - 0x1698]
00005304 4EAD DD48 jsr [A5 - 0x22B8]
00005308 4FEF 000E lea.l A7, [A7 + 0xE]
label0000530C:
0000530C 504F addq.w A7, 8
0000530E 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00005312 4E75 rts
00005314 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00005318 514F subq.w A7, 8
0000531A 266F 001C movea.l A3, [A7 + 0x1C]
0000531E 182F 0022 move.b D4, [A7 + 0x22]
00005322 244B movea.l A2, A3
00005324 7600 moveq.l D3, 0x00
00005326 3F2F 0024 move.w -[A7], [A7 + 0x24]
0000532A 1F04 move.b -[A7], D4
0000532C 1F2F 0024 move.b -[A7], [A7 + 0x24]
00005330 2F0A move.l -[A7], A2
00005332 4EBA 1C1A jsr [PC + 0x1C1A /* 00006F4E */]
00005336 4A80 tst.l D0
00005338 4FEF 000A lea.l A7, [A7 + 0xA]
0000533C 670A beq +0xC /* 00005348 */
0000533E 7001 moveq.l D0, 0x01
00005340 504F addq.w A7, 8
00005342 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00005346 4E75 rts
label00005348:
00005348 2F0B move.l -[A7], A3
0000534A 4EAD DD40 jsr [A5 - 0x22C0]
0000534E 4227 clr.b -[A7]
00005350 486F 0006 pea.l [A7 + 0x6]
00005354 486F 000E pea.l [A7 + 0xE]
00005358 2F0A move.l -[A7], A2
0000535A 4EBA 03D6 jsr [PC + 0x3D6 /* 00005732 */]
0000535E 4FEF 0012 lea.l A7, [A7 + 0x12]
00005362 601A bra +0x1C /* 0000537E */
label00005364:
00005364 1F04 move.b -[A7], D4
00005366 2F2F 0006 move.l -[A7], [A7 + 0x6]
0000536A 206F 000A movea.l A0, [A7 + 0xA]
0000536E 2068 0030 movea.l A0, [A0 + 0x30]
00005372 4E90 jsr [A0]
00005374 4A80 tst.l D0
00005376 5C4F addq.w A7, 6
00005378 6704 beq +0x6 /* 0000537E */
0000537A 7601 moveq.l D3, 0x01
0000537C 601A bra +0x1C /* 00005398 */
label0000537E:
0000537E 1F3C 0001 move.b -[A7], 0x1
00005382 486F 0002 pea.l [A7 + 0x2]
00005386 486F 000A pea.l [A7 + 0xA]
0000538A 2F0A move.l -[A7], A2
0000538C 4EBA 03A4 jsr [PC + 0x3A4 /* 00005732 */]
00005390 4A80 tst.l D0
00005392 4FEF 000E lea.l A7, [A7 + 0xE]
00005396 66CC bne -0x32 /* 00005364 */
label00005398:
00005398 1F3C 0002 move.b -[A7], 0x2
0000539C 486F 0002 pea.l [A7 + 0x2]
000053A0 486F 000A pea.l [A7 + 0xA]
000053A4 2F0A move.l -[A7], A2
000053A6 4EBA 038A jsr [PC + 0x38A /* 00005732 */]
000053AA 4EAD E968 jsr [A5 - 0x1698]
000053AE 4EAD DD48 jsr [A5 - 0x22B8]
000053B2 2003 move.l D0, D3
000053B4 4FEF 0016 lea.l A7, [A7 + 0x16]
000053B8 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
000053BC 4E75 rts
000053BE 48E7 1030 movem.l -[A7], D3,A2,A3
000053C2 4FEF FFF4 lea.l A7, [A7 - 0xC]
000053C6 266F 001C movea.l A3, [A7 + 0x1C]
000053CA 244B movea.l A2, A3
000053CC 7600 moveq.l D3, 0x00
000053CE 2F0B move.l -[A7], A3
000053D0 4EAD DD40 jsr [A5 - 0x22C0]
000053D4 4227 clr.b -[A7]
000053D6 486F 000A pea.l [A7 + 0xA]
000053DA 486F 0012 pea.l [A7 + 0x12]
000053DE 2F0A move.l -[A7], A2
000053E0 4EBA 0350 jsr [PC + 0x350 /* 00005732 */]
000053E4 4FEF 0012 lea.l A7, [A7 + 0x12]
000053E8 602C bra +0x2E /* 00005416 */
label000053EA:
000053EA 554F subq.w A7, 2
000053EC 2F2F 0022 move.l -[A7], [A7 + 0x22]
000053F0 206F 000E movea.l A0, [A7 + 0xE]
000053F4 4868 0040 pea.l [A0 + 0x40]
000053F8 A8AD syscall PtInRect
000053FA 101F move.b D0, [A7]+
000053FC 6718 beq +0x1A /* 00005416 */
000053FE 2F2F 0020 move.l -[A7], [A7 + 0x20]
00005402 2F2F 000C move.l -[A7], [A7 + 0xC]
00005406 206F 0010 movea.l A0, [A7 + 0x10]
0000540A 2068 0020 movea.l A0, [A0 + 0x20]
0000540E 4E90 jsr [A0]
00005410 7601 moveq.l D3, 0x01
00005412 504F addq.w A7, 8
00005414 601A bra +0x1C /* 00005430 */
label00005416:
00005416 1F3C 0001 move.b -[A7], 0x1
0000541A 486F 0006 pea.l [A7 + 0x6]
0000541E 486F 000E pea.l [A7 + 0xE]
00005422 2F0A move.l -[A7], A2
00005424 4EBA 030C jsr [PC + 0x30C /* 00005732 */]
00005428 4A80 tst.l D0
0000542A 4FEF 000E lea.l A7, [A7 + 0xE]
0000542E 66BA bne -0x44 /* 000053EA */
label00005430:
00005430 1F3C 0002 move.b -[A7], 0x2
00005434 486F 0006 pea.l [A7 + 0x6]
00005438 486F 000E pea.l [A7 + 0xE]
0000543C 2F0A move.l -[A7], A2
0000543E 4EBA 02F2 jsr [PC + 0x2F2 /* 00005732 */]
00005442 4A83 tst.l D3
00005444 4FEF 000E lea.l A7, [A7 + 0xE]
00005448 6616 bne +0x18 /* 00005460 */
0000544A 2EAD 8D0E move.l [A7], [A5 - 0x72F2]
0000544E 4267 clr.w -[A7]
00005450 2F2F 0002 move.l -[A7], [A7 + 0x2]
00005454 4EAD DFE8 jsr [A5 - 0x2018]
00005458 4267 clr.w -[A7]
0000545A 4EAD DDA0 jsr [A5 - 0x2260]
0000545E 5C4F addq.w A7, 6
label00005460:
00005460 4EAD DD48 jsr [A5 - 0x22B8]
00005464 4FEF 000C lea.l A7, [A7 + 0xC]
00005468 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000546C 4E75 rts
0000546E 594F subq.w A7, 4
00005470 2EAF 0008 move.l [A7], [A7 + 0x8]
00005474 2F2F 000C move.l -[A7], [A7 + 0xC]
00005478 206F 0004 movea.l A0, [A7 + 0x4]
0000547C 4868 009C pea.l [A0 + 0x9C]
00005480 4EAD DE70 jsr [A5 - 0x2190]
00005484 4FEF 000C lea.l A7, [A7 + 0xC]
00005488 4E75 rts
fn0000548A:
0000548A 2F0A move.l -[A7], A2
0000548C 246F 0008 movea.l A2, [A7 + 0x8]
00005490 7000 moveq.l D0, 0x00
00005492 102F 000C move.b D0, [A7 + 0xC]
00005496 0C80 0000 0015 cmpi.l D0, 0x15
0000549C 6236 bhi +0x38 /* 000054D4 */
0000549E D040 add.w D0, D0
000054A0 303B 0006 move.w D0, [PC + D0.w + 0x6]
000054A4 4EFB 0002 jmp [PC + D0.w + 0x2]
000054A8 0032 0046 0050 ori.b [A2 + D0.w + 0x50], 0x46 /* 'F' */
000054AE 005A 0064 ori.w [A2]+, 0x64 /* 'd' */
000054B2 006E 0078 0082 ori.w [A6 + 0x82], 0x78 /* 'x' */
000054B8 002C 008C 00FC ori.b [A4 + 0xFC], 0x8C
000054BE 00EA 0096 ori.? [A2 + 0x96], 0xFFFFFFFFFFFFFFFF
000054C2 00F4 00A6 ori.? [A4 + D0.w - 0x90], 0xFFFFFFFFFFFFFFFF
000054C6 00AE 0104 00B8 00C2 ori.l [A6 + 0xC2], 0x10400B8
000054CE 00CC ori.? A4, 0xFFFFFFFFFFFFFFFF
000054D0 00D6 ori.? [A6], 0xFFFFFFFFFFFFFFFF
000054D2 00E0 ori.? -[A0], 0xFFFFFFFFFFFFFFFF
label000054D4:
000054D4 91C8 sub.l A0, A0
000054D6 245F movea.l A2, [A7]+
000054D8 4E75 rts
000054DA 4AAD B2D8 tst.l [A5 - 0x4D28]
000054DE 6606 bne +0x8 /* 000054E6 */
000054E0 206A 0138 movea.l A0, [A2 + 0x138]
000054E4 6004 bra +0x6 /* 000054EA */
label000054E6:
000054E6 4EAD FF30 jsr [A5 - 0xD0]
label000054EA:
000054EA 245F movea.l A2, [A7]+
000054EC 4E75 rts
000054EE 204A movea.l A0, A2
000054F0 41E8 0144 lea.l A0, [A0 + 0x144]
000054F4 245F movea.l A2, [A7]+
000054F6 4E75 rts
000054F8 204A movea.l A0, A2
000054FA 41E8 0140 lea.l A0, [A0 + 0x140]
000054FE 245F movea.l A2, [A7]+
00005500 4E75 rts
00005502 204A movea.l A0, A2
00005504 41E8 0150 lea.l A0, [A0 + 0x150]
00005508 245F movea.l A2, [A7]+
0000550A 4E75 rts
0000550C 204A movea.l A0, A2
0000550E 41E8 00E2 lea.l A0, [A0 + 0xE2]
00005512 245F movea.l A2, [A7]+
00005514 4E75 rts
00005516 204A movea.l A0, A2
00005518 41E8 009C lea.l A0, [A0 + 0x9C]
0000551C 245F movea.l A2, [A7]+
0000551E 4E75 rts
00005520 204A movea.l A0, A2
00005522 41E8 0166 lea.l A0, [A0 + 0x166]
00005526 245F movea.l A2, [A7]+
00005528 4E75 rts
0000552A 204A movea.l A0, A2
0000552C 41E8 0168 lea.l A0, [A0 + 0x168]
00005530 245F movea.l A2, [A7]+
00005532 4E75 rts
00005534 204A movea.l A0, A2
00005536 41E8 0148 lea.l A0, [A0 + 0x148]
0000553A 245F movea.l A2, [A7]+
0000553C 4E75 rts
0000553E 4227 clr.b -[A7]
00005540 3F2A 0166 move.w -[A7], [A2 + 0x166]
00005544 4EBA DE7A jsr [PC - 0x2186 /* 000033C0 */]
00005548 584F addq.w A7, 4
0000554A 245F movea.l A2, [A7]+
0000554C 4E75 rts
0000554E 206A 013C movea.l A0, [A2 + 0x13C]
00005552 245F movea.l A2, [A7]+
00005554 4E75 rts
00005556 204A movea.l A0, A2
00005558 41E8 014C lea.l A0, [A0 + 0x14C]
0000555C 245F movea.l A2, [A7]+
0000555E 4E75 rts
00005560 204A movea.l A0, A2
00005562 41E8 0164 lea.l A0, [A0 + 0x164]
00005566 245F movea.l A2, [A7]+
00005568 4E75 rts
0000556A 204A movea.l A0, A2
0000556C 41E8 00EC lea.l A0, [A0 + 0xEC]
00005570 245F movea.l A2, [A7]+
00005572 4E75 rts
00005574 204A movea.l A0, A2
00005576 41E8 0154 lea.l A0, [A0 + 0x154]
0000557A 245F movea.l A2, [A7]+
0000557C 4E75 rts
0000557E 204A movea.l A0, A2
00005580 41E8 0158 lea.l A0, [A0 + 0x158]
00005584 245F movea.l A2, [A7]+
00005586 4E75 rts
00005588 204A movea.l A0, A2
0000558A 41E8 015C lea.l A0, [A0 + 0x15C]
0000558E 245F movea.l A2, [A7]+
00005590 4E75 rts
00005592 204A movea.l A0, A2
00005594 41E8 0160 lea.l A0, [A0 + 0x160]
00005598 245F movea.l A2, [A7]+
0000559A 4E75 rts
0000559C 206A 0128 movea.l A0, [A2 + 0x128]
000055A0 245F movea.l A2, [A7]+
000055A2 4E75 rts
000055A4 206A 012C movea.l A0, [A2 + 0x12C]
000055A8 245F movea.l A2, [A7]+
000055AA 4E75 rts
000055AC 204A movea.l A0, A2
000055AE 41E8 0130 lea.l A0, [A0 + 0x130]
000055B2 245F movea.l A2, [A7]+
000055B4 4E75 rts
000055B6 48E7 0030 movem.l -[A7], A2,A3
000055BA 266F 0012 movea.l A3, [A7 + 0x12]
000055BE 246F 000C movea.l A2, [A7 + 0xC]
000055C2 7000 moveq.l D0, 0x00
000055C4 102F 0010 move.b D0, [A7 + 0x10]
000055C8 6710 beq +0x12 /* 000055DA */
000055CA 5580 subq.l D0, 2
000055CC 6706 beq +0x8 /* 000055D4 */
000055CE 5180 subq.l D0, 8
000055D0 6728 beq +0x2A /* 000055FA */
000055D2 6036 bra +0x38 /* 0000560A */
label000055D4:
000055D4 2553 0140 move.l [A2 + 0x140], [A3]
000055D8 6030 bra +0x32 /* 0000560A */
label000055DA:
000055DA 4AAD B2D8 tst.l [A5 - 0x4D28]
000055DE 670A beq +0xC /* 000055EA */
000055E0 2F0B move.l -[A7], A3
000055E2 4EAD FF38 jsr [A5 - 0xC8]
000055E6 584F addq.w A7, 4
000055E8 6020 bra +0x22 /* 0000560A */
label000055EA:
000055EA 2F2A 0138 move.l -[A7], [A2 + 0x138]
000055EE 4EAD E900 jsr [A5 - 0x1700]
000055F2 254B 0138 move.l [A2 + 0x138], A3
000055F6 584F addq.w A7, 4
000055F8 6010 bra +0x12 /* 0000560A */
label000055FA:
000055FA 4AAA 012C tst.l [A2 + 0x12C]
000055FE 6706 beq +0x8 /* 00005606 */
00005600 206A 012C movea.l A0, [A2 + 0x12C]
00005604 A049 syscall HPurge
label00005606:
00005606 254B 012C move.l [A2 + 0x12C], A3
label0000560A:
0000560A 4CDF 0C00 movem.l A2,A3, [A7]+
0000560E 4E75 rts
00005610 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00005614 514F subq.w A7, 8
00005616 2A2F 0020 move.l D5, [A7 + 0x20]
0000561A 246F 001C movea.l A2, [A7 + 0x1C]
0000561E 78FF moveq.l D4, 0xFFFFFFFF
00005620 7600 moveq.l D3, 0x00
00005622 4227 clr.b -[A7]
00005624 486F 0002 pea.l [A7 + 0x2]
00005628 486F 000A pea.l [A7 + 0xA]
0000562C 2F0A move.l -[A7], A2
0000562E 4EBA 0102 jsr [PC + 0x102 /* 00005732 */]
00005632 4FEF 000E lea.l A7, [A7 + 0xE]
00005636 6010 bra +0x12 /* 00005648 */
label00005638:
00005638 206F 0004 movea.l A0, [A7 + 0x4]
0000563C BAA8 004C cmp.l D5, [A0 + 0x4C]
00005640 6604 bne +0x6 /* 00005646 */
00005642 2803 move.l D4, D3
00005644 601C bra +0x1E /* 00005662 */
label00005646:
00005646 5283 addq.l D3, 1
label00005648:
00005648 1F3C 0001 move.b -[A7], 0x1
0000564C 486F 0002 pea.l [A7 + 0x2]
00005650 486F 000A pea.l [A7 + 0xA]
00005654 2F0A move.l -[A7], A2
00005656 4EBA 00DA jsr [PC + 0xDA /* 00005732 */]
0000565A 4A80 tst.l D0
0000565C 4FEF 000E lea.l A7, [A7 + 0xE]
00005660 66D6 bne -0x28 /* 00005638 */
label00005662:
00005662 1F3C 0002 move.b -[A7], 0x2
00005666 486F 0002 pea.l [A7 + 0x2]
0000566A 486F 000A pea.l [A7 + 0xA]
0000566E 2F0A move.l -[A7], A2
00005670 4EBA 00C0 jsr [PC + 0xC0 /* 00005732 */]
00005674 2004 move.l D0, D4
00005676 4FEF 0016 lea.l A7, [A7 + 0x16]
0000567A 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
0000567E 4E75 rts
fn00005680:
00005680 48E7 1820 movem.l -[A7], D3,D4,A2
00005684 262F 0014 move.l D3, [A7 + 0x14]
00005688 182F 0018 move.b D4, [A7 + 0x18]
0000568C 246F 0010 movea.l A2, [A7 + 0x10]
00005690 4AAA 0134 tst.l [A2 + 0x134]
00005694 6608 bne +0xA /* 0000569E */
00005696 91C8 sub.l A0, A0
00005698 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000569C 4E75 rts
label0000569E:
0000569E 0C04 0002 cmpi.b D4, 0x2
000056A2 6612 bne +0x14 /* 000056B6 */
000056A4 2F2A 0134 move.l -[A7], [A2 + 0x134]
000056A8 4EAD DD88 jsr [A5 - 0x2278]
000056AC 91C8 sub.l A0, A0
000056AE 584F addq.w A7, 4
000056B0 4CDF 0418 movem.l D3,D4,A2, [A7]+
000056B4 4E75 rts
label000056B6:
000056B6 0C04 0001 cmpi.b D4, 0x1
000056BA 670A beq +0xC /* 000056C6 */
000056BC 2F2A 0134 move.l -[A7], [A2 + 0x134]
000056C0 4EAD DD80 jsr [A5 - 0x2280]
000056C4 584F addq.w A7, 4
label000056C6:
000056C6 709C moveq.l D0, 0xFFFFFF9C
000056C8 B680 cmp.l D3, D0
000056CA 662C bne +0x2E /* 000056F8 */
000056CC 7000 moveq.l D0, 0x00
000056CE 102A 016A move.b D0, [A2 + 0x16A]
000056D2 0C80 0000 0006 cmpi.l D0, 0x6
000056D8 621E bhi +0x20 /* 000056F8 */
000056DA D040 add.w D0, D0
000056DC 303B 0006 move.w D0, [PC + D0.w + 0x6]
000056E0 4EFB 0002 jmp [PC + D0.w + 0x2]
000056E4 0012 000E ori.b [A2], 0xE
000056E8 000E 0014 ori.b A6, 0x14
000056EC 000E 0014 ori.b A6, 0x14
000056F0 000E 7600 ori.b A6, 0x0
000056F4 6002 bra +0x4 /* 000056F8 */
000056F6 7601 moveq.l D3, 0x01
label000056F8:
000056F8 709C moveq.l D0, 0xFFFFFF9C
000056FA B680 cmp.l D3, D0
000056FC 6716 beq +0x18 /* 00005714 */
000056FE 594F subq.w A7, 4
00005700 2F2A 0134 move.l -[A7], [A2 + 0x134]
00005704 4EAD D9AC jsr [A5 - 0x2654]
00005708 201F move.l D0, [A7]+
0000570A 7258 moveq.l D1, 0x58
0000570C 4EAD D8FE jsr [A5 - 0x2702]
00005710 B680 cmp.l D3, D0
00005712 6508 bcs +0xA /* 0000571C */
label00005714:
00005714 91C8 sub.l A0, A0
00005716 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000571A 4E75 rts
label0000571C:
0000571C 2003 move.l D0, D3
0000571E 7258 moveq.l D1, 0x58
00005720 4EAD D8F8 jsr [A5 - 0x2708]
00005724 206A 0134 movea.l A0, [A2 + 0x134]
00005728 2050 movea.l A0, [A0]
0000572A D1C0 add.l A0, D0
0000572C 4CDF 0418 movem.l D3,D4,A2, [A7]+
00005730 4E75 rts
fn00005732:
00005732 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00005736 246F 0018 movea.l A2, [A7 + 0x18]
0000573A 286F 001C movea.l A4, [A7 + 0x1C]
0000573E 162F 0020 move.b D3, [A7 + 0x20]
00005742 266F 0014 movea.l A3, [A7 + 0x14]
00005746 4AAB 0134 tst.l [A3 + 0x134]
0000574A 660A bne +0xC /* 00005756 */
0000574C 4292 clr.l [A2]
0000574E 7000 moveq.l D0, 0x00
00005750 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00005754 4E75 rts
label00005756:
00005756 4A03 tst.b D3
00005758 6706 beq +0x8 /* 00005760 */
0000575A 0C03 0003 cmpi.b D3, 0x3
0000575E 6614 bne +0x16 /* 00005774 */
label00005760:
00005760 594F subq.w A7, 4
00005762 2F2B 0134 move.l -[A7], [A3 + 0x134]
00005766 4EAD D9AC jsr [A5 - 0x2654]
0000576A 201F move.l D0, [A7]+
0000576C 7258 moveq.l D1, 0x58
0000576E 4EAD D8FE jsr [A5 - 0x2702]
00005772 2880 move.l [A4], D0
label00005774:
00005774 7000 moveq.l D0, 0x00
00005776 1003 move.b D0, D3
00005778 670E beq +0x10 /* 00005788 */
0000577A 5380 subq.l D0, 1
0000577C 672A beq +0x2C /* 000057A8 */
0000577E 5380 subq.l D0, 1
00005780 6716 beq +0x18 /* 00005798 */
00005782 5380 subq.l D0, 1
00005784 671C beq +0x1E /* 000057A2 */
00005786 6042 bra +0x44 /* 000057CA */
label00005788:
00005788 2F2B 0134 move.l -[A7], [A3 + 0x134]
0000578C 4EAD DD80 jsr [A5 - 0x2280]
00005790 4292 clr.l [A2]
00005792 7600 moveq.l D3, 0x00
00005794 584F addq.w A7, 4
00005796 6036 bra +0x38 /* 000057CE */
label00005798:
00005798 2F2B 0134 move.l -[A7], [A3 + 0x134]
0000579C 4EAD DD88 jsr [A5 - 0x2278]
000057A0 584F addq.w A7, 4
label000057A2:
000057A2 4292 clr.l [A2]
000057A4 7600 moveq.l D3, 0x00
000057A6 6026 bra +0x28 /* 000057CE */
label000057A8:
000057A8 2014 move.l D0, [A4]
000057AA 5394 subq.l [A4], 1
000057AC 4A80 tst.l D0
000057AE 6606 bne +0x8 /* 000057B6 */
000057B0 4292 clr.l [A2]
000057B2 7600 moveq.l D3, 0x00
000057B4 6018 bra +0x1A /* 000057CE */
label000057B6:
000057B6 4A92 tst.l [A2]
000057B8 6706 beq +0x8 /* 000057C0 */
000057BA 7058 moveq.l D0, 0x58
000057BC D192 add.l [A2], D0
000057BE 6006 bra +0x8 /* 000057C6 */
label000057C0:
000057C0 206B 0134 movea.l A0, [A3 + 0x134]
000057C4 2490 move.l [A2], [A0]
label000057C6:
000057C6 7601 moveq.l D3, 0x01
000057C8 6004 bra +0x6 /* 000057CE */
label000057CA:
000057CA 4292 clr.l [A2]
000057CC 7600 moveq.l D3, 0x00
label000057CE:
000057CE 2003 move.l D0, D3
000057D0 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000057D4 4E75 rts
fn000057D6:
000057D6 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
000057DA 594F subq.w A7, 4
000057DC 282F 0024 move.l D4, [A7 + 0x24]
000057E0 2C6F 0028 movea.l A6, [A7 + 0x28]
000057E4 286F 002C movea.l A4, [A7 + 0x2C]
000057E8 246F 0020 movea.l A2, [A7 + 0x20]
000057EC 4AAD 8D1E tst.l [A5 - 0x72E2]
000057F0 672E beq +0x30 /* 00005820 */
000057F2 3F2A 0166 move.w -[A7], [A2 + 0x166]
000057F6 4EAD E238 jsr [A5 - 0x1DC8]
000057FA 5380 subq.l D0, 1
000057FC 2600 move.l D3, D0
000057FE 4AAA 0144 tst.l [A2 + 0x144]
00005802 5EC0 sgt D0
00005804 4400 neg.b D0
00005806 4880 ext.w D0
00005808 48C0 ext.l D0
0000580A 2044 movea.l A0, D4
0000580C 2080 move.l [A0], D0
0000580E B6AA 0144 cmp.l D3, [A2 + 0x144]
00005812 5EC0 sgt D0
00005814 4400 neg.b D0
00005816 4880 ext.w D0
00005818 48C0 ext.l D0
0000581A 2C80 move.l [A6], D0
0000581C 544F addq.w A7, 2
0000581E 604C bra +0x4E /* 0000586C */
label00005820:
00005820 2F2A 0140 move.l -[A7], [A2 + 0x140]
00005824 3F2A 0166 move.w -[A7], [A2 + 0x166]
00005828 4EAD E1A8 jsr [A5 - 0x1E58]
0000582C 2648 movea.l A3, A0
0000582E 7001 moveq.l D0, 0x01
00005830 B0AA 0150 cmp.l D0, [A2 + 0x150]
00005834 5FC0 sle D0
00005836 4400 neg.b D0
00005838 4880 ext.w D0
0000583A 48C0 ext.l D0
0000583C 2044 movea.l A0, D4
0000583E 2080 move.l [A0], D0
00005840 4AAA 0150 tst.l [A2 + 0x150]
00005844 5C4F addq.w A7, 6
00005846 6D1C blt +0x1E /* 00005864 */
00005848 200B move.l D0, A3
0000584A 6718 beq +0x1A /* 00005864 */
0000584C 2E80 move.l [A7], D0
0000584E 594F subq.w A7, 4
00005850 2F0B move.l -[A7], A3
00005852 4EAD D9AC jsr [A5 - 0x2654]
00005856 201F move.l D0, [A7]+
00005858 E488 lsr D0, 2
0000585A 222A 0150 move.l D1, [A2 + 0x150]
0000585E 5281 addq.l D1, 1
00005860 B280 cmp.l D1, D0
00005862 6504 bcs +0x6 /* 00005868 */
label00005864:
00005864 7000 moveq.l D0, 0x00
00005866 6002 bra +0x4 /* 0000586A */
label00005868:
00005868 7001 moveq.l D0, 0x01
label0000586A:
0000586A 2C80 move.l [A6], D0
label0000586C:
0000586C 200C move.l D0, A4
0000586E 6712 beq +0x14 /* 00005882 */
00005870 202A 0144 move.l D0, [A2 + 0x144]
00005874 B0AA 00E2 cmp.l D0, [A2 + 0xE2]
00005878 57C0 seq D0
0000587A 4400 neg.b D0
0000587C 4880 ext.w D0
0000587E 48C0 ext.l D0
00005880 2880 move.l [A4], D0
label00005882:
00005882 584F addq.w A7, 4
00005884 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00005888 4E75 rts
fn0000588A:
0000588A 206F 0004 movea.l A0, [A7 + 0x4]
0000588E 1028 016A move.b D0, [A0 + 0x16A]
00005892 4E75 rts
00005894 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00005898 286F 001C movea.l A4, [A7 + 0x1C]
0000589C 382F 0020 move.w D4, [A7 + 0x20]
000058A0 2C6F 0022 movea.l A6, [A7 + 0x22]
000058A4 244C movea.l A2, A4
000058A6 1F3C 0001 move.b -[A7], 0x1
000058AA 3F2A 0166 move.w -[A7], [A2 + 0x166]
000058AE 4EBA DB10 jsr [PC - 0x24F0 /* 000033C0 */]
000058B2 2648 movea.l A3, A0
000058B4 2008 move.l D0, A0
000058B6 584F addq.w A7, 4
000058B8 6700 00DE beq +0xE0 /* 00005998 */
000058BC 2F0C move.l -[A7], A4
000058BE 4EAD DD40 jsr [A5 - 0x22C0]
000058C2 4267 clr.w -[A7]
000058C4 4EAD DDA0 jsr [A5 - 0x2260]
000058C8 4267 clr.w -[A7]
000058CA 2F3C C000 0200 move.l -[A7], 0xC0000200
000058D0 A8FD syscall PrGlue
000058D2 2F3C C800 0000 move.l -[A7], 0xC8000000
000058D8 A8FD syscall PrGlue
000058DA 2F3C BA00 0000 move.l -[A7], 0xBA000000
000058E0 A8FD syscall PrGlue
000058E2 301F move.w D0, [A7]+
000058E4 3600 move.w D3, D0
000058E6 544F addq.w A7, 2
000058E8 6600 008C bne +0x8E /* 00005976 */
000058EC 3004 move.w D0, D4
000058EE 48C0 ext.l D0
000058F0 5980 subq.l D0, 4
000058F2 670A beq +0xC /* 000058FE */
000058F4 5380 subq.l D0, 1
000058F6 6716 beq +0x18 /* 0000590E */
000058F8 5380 subq.l D0, 1
000058FA 6712 beq +0x14 /* 0000590E */
000058FC 6078 bra +0x7A /* 00005976 */
label000058FE:
000058FE 554F subq.w A7, 2
00005900 2F0B move.l -[A7], A3
00005902 2F3C 2A04 0484 move.l -[A7], 0x2A040484
00005908 A8FD syscall PrGlue
0000590A 101F move.b D0, [A7]+
0000590C 6068 bra +0x6A /* 00005976 */
label0000590E:
0000590E 200E move.l D0, A6
00005910 670C beq +0xE /* 0000591E */
00005912 2F0E move.l -[A7], A6
00005914 2F0B move.l -[A7], A3
00005916 2F3C 5804 089C move.l -[A7], 0x5804089C
0000591C A8FD syscall PrGlue
label0000591E:
0000591E 2F0C move.l -[A7], A4
00005920 4EAD EA58 jsr [A5 - 0x15A8]
00005924 200E move.l D0, A6
00005926 584F addq.w A7, 4
00005928 6610 bne +0x12 /* 0000593A */
0000592A 554F subq.w A7, 2
0000592C 2F0B move.l -[A7], A3
0000592E 2F3C 3204 0488 move.l -[A7], 0x32040488
00005934 A8FD syscall PrGlue
00005936 101F move.b D0, [A7]+
00005938 673C beq +0x3E /* 00005976 */
label0000593A:
0000593A 0C44 0006 cmpi.w D4, 0x6
0000593E 661C bne +0x1E /* 0000595C */
00005940 42A7 clr.l -[A7]
00005942 42A7 clr.l -[A7]
00005944 2F0B move.l -[A7], A3
00005946 3F2A 0168 move.w -[A7], [A2 + 0x168]
0000594A 3F2A 0166 move.w -[A7], [A2 + 0x166]
0000594E 2F0C move.l -[A7], A4
00005950 4EAD DB80 jsr [A5 - 0x2480]
00005954 3600 move.w D3, D0
00005956 4FEF 0014 lea.l A7, [A7 + 0x14]
0000595A 601A bra +0x1C /* 00005976 */
label0000595C:
0000595C 2F2A 0144 move.l -[A7], [A2 + 0x144]
00005960 2F0B move.l -[A7], A3
00005962 3F2A 0168 move.w -[A7], [A2 + 0x168]
00005966 3F2A 0166 move.w -[A7], [A2 + 0x166]
0000596A 2F0C move.l -[A7], A4
0000596C 4EAD DB7A jsr [A5 - 0x2486]
00005970 3600 move.w D3, D0
00005972 4FEF 0010 lea.l A7, [A7 + 0x10]
label00005976:
00005976 2F3C D000 0000 move.l -[A7], 0xD0000000
0000597C A8FD syscall PrGlue
0000597E 4A43 tst.w D3
00005980 6712 beq +0x14 /* 00005994 */
00005982 0C43 FF80 cmpi.w D3, 0xFF80
00005986 670C beq +0xE /* 00005994 */
00005988 3F03 move.w -[A7], D3
0000598A 3F3C 0004 move.w -[A7], 0x4
0000598E 4EAD DE98 jsr [A5 - 0x2168]
00005992 584F addq.w A7, 4
label00005994:
00005994 4EAD DD48 jsr [A5 - 0x22B8]
label00005998:
00005998 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
0000599C 4E75 rts
0000599E 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
000059A2 4FEF FEF8 lea.l A7, [A7 - 0x108]
000059A6 246F 0124 movea.l A2, [A7 + 0x124]
000059AA 4A6D B48A tst.w [A5 - 0x4B76]
000059AE 6604 bne +0x6 /* 000059B4 */
000059B0 7000 moveq.l D0, 0x00
000059B2 6004 bra +0x6 /* 000059B8 */
label000059B4:
000059B4 4EAD F6B0 jsr [A5 - 0x950]
label000059B8:
000059B8 1A00 move.b D5, D0
000059BA 7800 moveq.l D4, 0x00
000059BC 200A move.l D0, A2
000059BE 660C bne +0xE /* 000059CC */
000059C0 7000 moveq.l D0, 0x00
000059C2 4FEF 0108 lea.l A7, [A7 + 0x108]
000059C6 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
000059CA 4E75 rts
label000059CC:
000059CC 2F0A move.l -[A7], A2
000059CE 4EAD DD40 jsr [A5 - 0x22C0]
000059D2 4A6D B48A tst.w [A5 - 0x4B76]
000059D6 584F addq.w A7, 4
000059D8 670C beq +0xE /* 000059E6 */
000059DA 2F0A move.l -[A7], A2
000059DC 4EAD F670 jsr [A5 - 0x990]
000059E0 2008 move.l D0, A0
000059E2 584F addq.w A7, 4
000059E4 6604 bne +0x6 /* 000059EA */
label000059E6:
000059E6 7000 moveq.l D0, 0x00
000059E8 6002 bra +0x4 /* 000059EC */
label000059EA:
000059EA 7001 moveq.l D0, 0x01
label000059EC:
000059EC 2C00 move.l D6, D0
000059EE 4A6D B48A tst.w [A5 - 0x4B76]
000059F2 6700 00B2 beq +0xB4 /* 00005AA6 */
000059F6 4A86 tst.l D6
000059F8 660E bne +0x10 /* 00005A08 */
000059FA 0C05 0003 cmpi.b D5, 0x3
000059FE 6708 beq +0xA /* 00005A08 */
00005A00 0C05 0006 cmpi.b D5, 0x6
00005A04 6600 00A0 bne +0xA2 /* 00005AA6 */
label00005A08:
00005A08 4A86 tst.l D6
00005A0A 6704 beq +0x6 /* 00005A10 */
00005A0C 0044 01F0 ori.w D4, 0x1F0
label00005A10:
00005A10 4A86 tst.l D6
00005A12 6604 bne +0x6 /* 00005A18 */
00005A14 7003 moveq.l D0, 0x03
00005A16 6002 bra +0x4 /* 00005A1A */
label00005A18:
00005A18 7002 moveq.l D0, 0x02
label00005A1A:
00005A1A 1F00 move.b -[A7], D0
00005A1C 2F2D 8822 move.l -[A7], [A5 - 0x77DE]
00005A20 2F2D 883E move.l -[A7], [A5 - 0x77C2]
00005A24 42A7 clr.l -[A7]
00005A26 4EAD E148 jsr [A5 - 0x1EB8]
00005A2A 7000 moveq.l D0, 0x00
00005A2C 1005 move.b D0, D5
00005A2E 4FEF 000E lea.l A7, [A7 + 0xE]
00005A32 0C80 0000 0006 cmpi.l D0, 0x6
00005A38 6232 bhi +0x34 /* 00005A6C */
00005A3A D040 add.w D0, D0
00005A3C 303B 0006 move.w D0, [PC + D0.w + 0x6]
00005A40 4EFB 0002 jmp [PC + D0.w + 0x2]
00005A44 000E 0012 ori.b A6, 0x12
00005A48 0016 001A ori.b [A6], 0x1A
00005A4C 001E 0022 ori.b [A6]+, 0x22 /* '\"' */
00005A50 0026 760C ori.b -[A6], 0xC
00005A54 6016 bra +0x18 /* 00005A6C */
00005A56 760D moveq.l D3, 0x0D
00005A58 6012 bra +0x14 /* 00005A6C */
00005A5A 760E moveq.l D3, 0x0E
00005A5C 600E bra +0x10 /* 00005A6C */
00005A5E 760F moveq.l D3, 0x0F
00005A60 600A bra +0xC /* 00005A6C */
00005A62 7610 moveq.l D3, 0x10
00005A64 6006 bra +0x8 /* 00005A6C */
00005A66 7611 moveq.l D3, 0x11
00005A68 6002 bra +0x4 /* 00005A6C */
00005A6A 7612 moveq.l D3, 0x12
label00005A6C:
00005A6C 486F 0008 pea.l [A7 + 0x8]
00005A70 302D 135E move.w D0, [A5 + 0x135E]
00005A74 48C0 ext.l D0
00005A76 0680 0000 0081 addi.l D0, 0x81
00005A7C 3F00 move.w -[A7], D0
00005A7E 3F03 move.w -[A7], D3
00005A80 4EAD DA4E jsr [A5 - 0x25B2]
00005A84 486F 0008 pea.l [A7 + 0x8]
00005A88 2F2D 883A move.l -[A7], [A5 - 0x77C6]
00005A8C 2F2D 883E move.l -[A7], [A5 - 0x77C2]
00005A90 42A7 clr.l -[A7]
00005A92 4EAD E110 jsr [A5 - 0x1EF0]
00005A96 0C43 000C cmpi.w D3, 0xC
00005A9A 4FEF 0010 lea.l A7, [A7 + 0x10]
00005A9E 6770 beq +0x72 /* 00005B10 */
00005AA0 0044 0008 ori.w D4, 0x8
00005AA4 606A bra +0x6C /* 00005B10 */
label00005AA6:
00005AA6 4EAD DFB0 jsr [A5 - 0x2050]
00005AAA B5C8 cmpa.l A2, A0
00005AAC 664A bne +0x4C /* 00005AF8 */
00005AAE 2F0A move.l -[A7], A2
00005AB0 4EAD EA48 jsr [A5 - 0x15B8]
00005AB4 584F addq.w A7, 4
00005AB6 2F00 move.l -[A7], D0
00005AB8 2F0A move.l -[A7], A2
00005ABA 4EBA A90E jsr [PC - 0x56F2 /* 000003CA */]
00005ABE 3800 move.w D4, D0
00005AC0 4A44 tst.w D4
00005AC2 504F addq.w A7, 8
00005AC4 6634 bne +0x36 /* 00005AFA */
00005AC6 4AAD B650 tst.l [A5 - 0x49B0]
00005ACA 672E beq +0x30 /* 00005AFA */
00005ACC 2F0A move.l -[A7], A2
00005ACE 4EAD EA20 jsr [A5 - 0x15E0]
00005AD2 2648 movea.l A3, A0
00005AD4 200B move.l D0, A3
00005AD6 584F addq.w A7, 4
00005AD8 6720 beq +0x22 /* 00005AFA */
00005ADA 486F 0004 pea.l [A7 + 0x4]
00005ADE 486F 0004 pea.l [A7 + 0x4]
00005AE2 42A7 clr.l -[A7]
00005AE4 2F0B move.l -[A7], A3
00005AE6 4EAD E5B0 jsr [A5 - 0x1A50]
00005AEA 4A80 tst.l D0
00005AEC 4FEF 0010 lea.l A7, [A7 + 0x10]
00005AF0 6708 beq +0xA /* 00005AFA */
00005AF2 0044 0020 ori.w D4, 0x20 /* ' ' */
00005AF6 6002 bra +0x4 /* 00005AFA */
label00005AF8:
00005AF8 7800 moveq.l D4, 0x00
label00005AFA:
00005AFA 1F3C 0003 move.b -[A7], 0x3
00005AFE 2F2D 8822 move.l -[A7], [A5 - 0x77DE]
00005B02 2F2D 883E move.l -[A7], [A5 - 0x77C2]
00005B06 42A7 clr.l -[A7]
00005B08 4EAD E148 jsr [A5 - 0x1EB8]
00005B0C 4FEF 000E lea.l A7, [A7 + 0xE]
label00005B10:
00005B10 4EAD DD48 jsr [A5 - 0x22B8]
00005B14 3004 move.w D0, D4
00005B16 4FEF 0108 lea.l A7, [A7 + 0x108]
00005B1A 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00005B1E 4E75 rts
00005B20 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00005B24 514F subq.w A7, 8
00005B26 246F 0020 movea.l A2, [A7 + 0x20]
00005B2A 3A2F 0024 move.w D5, [A7 + 0x24]
00005B2E 7600 moveq.l D3, 0x00
00005B30 4A6D B48A tst.w [A5 - 0x4B76]
00005B34 6604 bne +0x6 /* 00005B3A */
00005B36 7000 moveq.l D0, 0x00
00005B38 6004 bra +0x6 /* 00005B3E */
label00005B3A:
00005B3A 4EAD F6B0 jsr [A5 - 0x950]
label00005B3E:
00005B3E 1800 move.b D4, D0
00005B40 2F0A move.l -[A7], A2
00005B42 4EAD DD40 jsr [A5 - 0x22C0]
00005B46 4A6D B48A tst.w [A5 - 0x4B76]
00005B4A 584F addq.w A7, 4
00005B4C 671C beq +0x1E /* 00005B6A */
00005B4E 2F0A move.l -[A7], A2
00005B50 4EAD F670 jsr [A5 - 0x990]
00005B54 2008 move.l D0, A0
00005B56 584F addq.w A7, 4
00005B58 660C bne +0xE /* 00005B66 */
00005B5A 0C04 0003 cmpi.b D4, 0x3
00005B5E 6706 beq +0x8 /* 00005B66 */
00005B60 0C04 0006 cmpi.b D4, 0x6
00005B64 6604 bne +0x6 /* 00005B6A */
label00005B66:
00005B66 7601 moveq.l D3, 0x01
00005B68 6028 bra +0x2A /* 00005B92 */
label00005B6A:
00005B6A 2F0A move.l -[A7], A2
00005B6C 4EAD EA20 jsr [A5 - 0x15E0]
00005B70 2648 movea.l A3, A0
00005B72 200B move.l D0, A3
00005B74 584F addq.w A7, 4
00005B76 671A beq +0x1C /* 00005B92 */
00005B78 486F 0004 pea.l [A7 + 0x4]
00005B7C 486F 0004 pea.l [A7 + 0x4]
00005B80 42A7 clr.l -[A7]
00005B82 2F0B move.l -[A7], A3
00005B84 4EAD E5B0 jsr [A5 - 0x1A50]
00005B88 4A80 tst.l D0
00005B8A 4FEF 0010 lea.l A7, [A7 + 0x10]
00005B8E 6702 beq +0x4 /* 00005B92 */
00005B90 7601 moveq.l D3, 0x01
label00005B92:
00005B92 4A83 tst.l D3
00005B94 6710 beq +0x12 /* 00005BA6 */
00005B96 3005 move.w D0, D5
00005B98 48C0 ext.l D0
00005B9A 2F00 move.l -[A7], D0
00005B9C 2F0A move.l -[A7], A2
00005B9E 4EAD EA50 jsr [A5 - 0x15B0]
00005BA2 504F addq.w A7, 8
00005BA4 602C bra +0x2E /* 00005BD2 */
label00005BA6:
00005BA6 3005 move.w D0, D5
00005BA8 48C0 ext.l D0
00005BAA 2F00 move.l -[A7], D0
00005BAC 2F0A move.l -[A7], A2
00005BAE 4EAD E420 jsr [A5 - 0x1BE0]
00005BB2 4A80 tst.l D0
00005BB4 504F addq.w A7, 8
00005BB6 661A bne +0x1C /* 00005BD2 */
00005BB8 3005 move.w D0, D5
00005BBA 48C0 ext.l D0
00005BBC 2F00 move.l -[A7], D0
00005BBE 2F0A move.l -[A7], A2
00005BC0 4EAD EA48 jsr [A5 - 0x15B8]
00005BC4 584F addq.w A7, 4
00005BC6 2F00 move.l -[A7], D0
00005BC8 2F0A move.l -[A7], A2
00005BCA 4EBA A8AC jsr [PC - 0x5754 /* 00000478 */]
00005BCE 4FEF 000C lea.l A7, [A7 + 0xC]
label00005BD2:
00005BD2 4EAD E968 jsr [A5 - 0x1698]
00005BD6 4EAD DD48 jsr [A5 - 0x22B8]
00005BDA 504F addq.w A7, 8
00005BDC 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00005BE0 4E75 rts
00005BE2 2F0A move.l -[A7], A2
00005BE4 4A6D B48A tst.w [A5 - 0x4B76]
00005BE8 6618 bne +0x1A /* 00005C02 */
00005BEA 302D 135E move.w D0, [A5 + 0x135E]
00005BEE 48C0 ext.l D0
00005BF0 0680 0000 008A addi.l D0, 0x8A
00005BF6 3F00 move.w -[A7], D0
00005BF8 4EAD DB62 jsr [A5 - 0x249E]
00005BFC 4A80 tst.l D0
00005BFE 544F addq.w A7, 2
00005C00 675C beq +0x5E /* 00005C5E */
label00005C02:
00005C02 302D B48A move.w D0, [A5 - 0x4B76]
00005C06 57C0 seq D0
00005C08 4400 neg.b D0
00005C0A 4880 ext.w D0
00005C0C 48C0 ext.l D0
00005C0E 3B40 B48A move.w [A5 - 0x4B76], D0
00005C12 594F subq.w A7, 4
00005C14 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00005C18 4E90 jsr [A0]
00005C1A 205F movea.l A0, [A7]+
00005C1C 2448 movea.l A2, A0
00005C1E 6020 bra +0x22 /* 00005C40 */
label00005C20:
00005C20 302A 006C move.w D0, [A2 + 0x6C]
00005C24 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00005C28 6612 bne +0x14 /* 00005C3C */
00005C2A 2F0A move.l -[A7], A2
00005C2C 4EAD DD40 jsr [A5 - 0x22C0]
00005C30 2F0A move.l -[A7], A2
00005C32 4EAD EA60 jsr [A5 - 0x15A0]
00005C36 4EAD DD48 jsr [A5 - 0x22B8]
00005C3A 504F addq.w A7, 8
label00005C3C:
00005C3C 246A 0090 movea.l A2, [A2 + 0x90]
label00005C40:
00005C40 200A move.l D0, A2
00005C42 66DC bne -0x22 /* 00005C20 */
00005C44 4A6D B48A tst.w [A5 - 0x4B76]
00005C48 6614 bne +0x16 /* 00005C5E */
00005C4A 302D 135E move.w D0, [A5 + 0x135E]
00005C4E 48C0 ext.l D0
00005C50 0680 0000 008A addi.l D0, 0x8A
00005C56 3F00 move.w -[A7], D0
00005C58 4EAD DB68 jsr [A5 - 0x2498]
00005C5C 544F addq.w A7, 2
label00005C5E:
00005C5E 245F movea.l A2, [A7]+
00005C60 4E75 rts
00005C62 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00005C66 4FEF FFCC lea.l A7, [A7 - 0x34]
00005C6A 286F 004C movea.l A4, [A7 + 0x4C]
00005C6E 97CB sub.l A3, A3
00005C70 486F 000C pea.l [A7 + 0xC]
00005C74 486F 002C pea.l [A7 + 0x2C]
00005C78 2F0C move.l -[A7], A4
00005C7A 4EAD EA28 jsr [A5 - 0x15D8]
00005C7E 2F2F 0018 move.l -[A7], [A7 + 0x18]
00005C82 2F0C move.l -[A7], A4
00005C84 4EAD DACC jsr [A5 - 0x2534]
00005C88 2448 movea.l A2, A0
00005C8A 2008 move.l D0, A0
00005C8C 4FEF 0014 lea.l A7, [A7 + 0x14]
00005C90 6614 bne +0x16 /* 00005CA6 */
00005C92 2F3C 0003 FF94 move.l -[A7], 0x3FF94
00005C98 4EAD DE98 jsr [A5 - 0x2168]
00005C9C 4FEF 0038 lea.l A7, [A7 + 0x38]
00005CA0 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00005CA4 4E75 rts
label00005CA6:
00005CA6 4AAF 0028 tst.l [A7 + 0x28]
00005CAA 6700 0094 beq +0x96 /* 00005D40 */
00005CAE 2F2F 0028 move.l -[A7], [A7 + 0x28]
00005CB2 2F0C move.l -[A7], A4
00005CB4 4EAD DACC jsr [A5 - 0x2534]
00005CB8 2648 movea.l A3, A0
00005CBA 200B move.l D0, A3
00005CBC 504F addq.w A7, 8
00005CBE 6618 bne +0x1A /* 00005CD8 */
00005CC0 2F0A move.l -[A7], A2
00005CC2 A8F5 syscall KillPicture
00005CC4 2F3C 0003 FF94 move.l -[A7], 0x3FF94
00005CCA 4EAD DE98 jsr [A5 - 0x2168]
00005CCE 4FEF 0038 lea.l A7, [A7 + 0x38]
00005CD2 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00005CD6 4E75 rts
label00005CD8:
00005CD8 2052 movea.l A0, [A2]
00005CDA 2F68 0002 0018 move.l [A7 + 0x18], [A0 + 0x2]
00005CE0 2F68 0006 001C move.l [A7 + 0x1C], [A0 + 0x6]
00005CE6 2053 movea.l A0, [A3]
00005CE8 2F68 0002 0010 move.l [A7 + 0x10], [A0 + 0x2]
00005CEE 2F68 0006 0014 move.l [A7 + 0x14], [A0 + 0x6]
00005CF4 486F 0018 pea.l [A7 + 0x18]
00005CF8 486F 0014 pea.l [A7 + 0x14]
00005CFC 486F 0028 pea.l [A7 + 0x28]
00005D00 A8AB syscall UnionRect
00005D02 2F0C move.l -[A7], A4
00005D04 4EAD DD40 jsr [A5 - 0x22C0]
00005D08 486F 0024 pea.l [A7 + 0x24]
00005D0C 4EAD DD50 jsr [A5 - 0x22B0]
00005D10 486F 0028 pea.l [A7 + 0x28]
00005D14 A8F3 syscall OpenPicture
00005D16 205F movea.l A0, [A7]+
00005D18 2C48 movea.l A6, A0
00005D1A 2F0B move.l -[A7], A3
00005D1C 486F 0018 pea.l [A7 + 0x18]
00005D20 A8F6 syscall DrawPicture
00005D22 2F0A move.l -[A7], A2
00005D24 486F 0020 pea.l [A7 + 0x20]
00005D28 A8F6 syscall DrawPicture
00005D2A A8F4 syscall ClosePicture
00005D2C 4EAD DD58 jsr [A5 - 0x22A8]
00005D30 4EAD DD48 jsr [A5 - 0x22B8]
00005D34 2F0B move.l -[A7], A3
00005D36 A8F5 syscall KillPicture
00005D38 2F0A move.l -[A7], A2
00005D3A A8F5 syscall KillPicture
00005D3C 244E movea.l A2, A6
00005D3E 584F addq.w A7, 4
label00005D40:
00005D40 2F0C move.l -[A7], A4
00005D42 4EAD DD40 jsr [A5 - 0x22C0]
00005D46 2F6D B638 0008 move.l [A7 + 0x8], [A5 - 0x49C8]
00005D4C 2F6D B63C 000C move.l [A7 + 0xC], [A5 - 0x49C4]
00005D52 2052 movea.l A0, [A2]
00005D54 2F68 0002 0030 move.l [A7 + 0x30], [A0 + 0x2]
00005D5A 2F68 0006 0034 move.l [A7 + 0x34], [A0 + 0x6]
00005D60 42AF 0004 clr.l [A7 + 0x4]
00005D64 486F 0008 pea.l [A7 + 0x8]
00005D68 4EAD DD50 jsr [A5 - 0x22B0]
00005D6C 526F 003A addq.w [A7 + 0x3A], 1
00005D70 526F 0038 addq.w [A7 + 0x38], 1
00005D74 486F 0034 pea.l [A7 + 0x34]
00005D78 A8F3 syscall OpenPicture
00005D7A 205F movea.l A0, [A7]+
00005D7C 2648 movea.l A3, A0
00005D7E 2052 movea.l A0, [A2]
00005D80 2F68 0002 0030 move.l [A7 + 0x30], [A0 + 0x2]
00005D86 2F68 0006 0034 move.l [A7 + 0x34], [A0 + 0x6]
00005D8C 2F0A move.l -[A7], A2
00005D8E 486F 0034 pea.l [A7 + 0x34]
00005D92 A8F6 syscall DrawPicture
00005D94 42A7 clr.l -[A7]
00005D96 486F 0008 pea.l [A7 + 0x8]
00005D9A 2F0C move.l -[A7], A4
00005D9C 4EAD E3F8 jsr [A5 - 0x1C08]
00005DA0 A8F4 syscall ClosePicture
00005DA2 2F0A move.l -[A7], A2
00005DA4 A8F5 syscall KillPicture
00005DA6 244B movea.l A2, A3
00005DA8 4EAD DD58 jsr [A5 - 0x22A8]
00005DAC A9FC syscall ZeroScrap
00005DAE 201F move.l D0, [A7]+
00005DB0 204A movea.l A0, A2
00005DB2 A029 syscall HLock
00005DB4 594F subq.w A7, 4
00005DB6 2F0A move.l -[A7], A2
00005DB8 4EAD D9AC jsr [A5 - 0x2654]
00005DBC 201F move.l D0, [A7]+
00005DBE 2F00 move.l -[A7], D0
00005DC0 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00005DC6 2F12 move.l -[A7], [A2]
00005DC8 A9FE syscall PutScrap
00005DCA 201F move.l D0, [A7]+
00005DCC 3600 move.w D3, D0
00005DCE 2F0A move.l -[A7], A2
00005DD0 A8F5 syscall KillPicture
00005DD2 4A43 tst.w D3
00005DD4 504F addq.w A7, 8
00005DD6 670C beq +0xE /* 00005DE4 */
00005DD8 3F03 move.w -[A7], D3
00005DDA 3F3C 0003 move.w -[A7], 0x3
00005DDE 4EAD DE98 jsr [A5 - 0x2168]
00005DE2 584F addq.w A7, 4
label00005DE4:
00005DE4 4EAD DD48 jsr [A5 - 0x22B8]
00005DE8 4FEF 0034 lea.l A7, [A7 + 0x34]
00005DEC 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00005DF0 4E75 rts
00005DF2 48E7 1030 movem.l -[A7], D3,A2,A3
00005DF6 594F subq.w A7, 4
00005DF8 266F 0014 movea.l A3, [A7 + 0x14]
00005DFC 244B movea.l A2, A3
00005DFE 4297 clr.l [A7]
00005E00 2F0B move.l -[A7], A3
00005E02 4EAD DD40 jsr [A5 - 0x22C0]
00005E06 3F3C 0004 move.w -[A7], 0x4
00005E0A 4EAD DDA0 jsr [A5 - 0x2260]
00005E0E 486F 0004 pea.l [A7 + 0x4]
00005E12 2F2A 0144 move.l -[A7], [A2 + 0x144]
00005E16 3F2A 0166 move.w -[A7], [A2 + 0x166]
00005E1A 4EAD E1F8 jsr [A5 - 0x1E08]
00005E1E 3600 move.w D3, D0
00005E20 4FEF 000E lea.l A7, [A7 + 0xE]
00005E24 6650 bne +0x52 /* 00005E76 */
00005E26 4A97 tst.l [A7]
00005E28 674C beq +0x4E /* 00005E76 */
00005E2A 4AAF 0018 tst.l [A7 + 0x18]
00005E2E 670C beq +0xE /* 00005E3C */
00005E30 2F17 move.l -[A7], [A7]
00005E32 4EAD DBD4 jsr [A5 - 0x242C]
00005E36 3600 move.w D3, D0
00005E38 584F addq.w A7, 4
00005E3A 6036 bra +0x38 /* 00005E72 */
label00005E3C:
00005E3C 594F subq.w A7, 4
00005E3E A9FC syscall ZeroScrap
00005E40 201F move.l D0, [A7]+
00005E42 594F subq.w A7, 4
00005E44 594F subq.w A7, 4
00005E46 2F2F 0008 move.l -[A7], [A7 + 0x8]
00005E4A 4EAD D9AC jsr [A5 - 0x2654]
00005E4E 201F move.l D0, [A7]+
00005E50 2F00 move.l -[A7], D0
00005E52 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00005E58 2F2F 000C move.l -[A7], [A7 + 0xC]
00005E5C 4EAD DD80 jsr [A5 - 0x2280]
00005E60 584F addq.w A7, 4
00005E62 2F08 move.l -[A7], A0
00005E64 A9FE syscall PutScrap
00005E66 201F move.l D0, [A7]+
00005E68 3600 move.w D3, D0
00005E6A 2F17 move.l -[A7], [A7]
00005E6C 4EAD DD88 jsr [A5 - 0x2278]
00005E70 584F addq.w A7, 4
label00005E72:
00005E72 2057 movea.l A0, [A7]
00005E74 A023 syscall DisposHandle/DisposeHandle
label00005E76:
00005E76 4A43 tst.w D3
00005E78 670C beq +0xE /* 00005E86 */
00005E7A 3F03 move.w -[A7], D3
00005E7C 3F3C 0003 move.w -[A7], 0x3
00005E80 4EAD DE98 jsr [A5 - 0x2168]
00005E84 584F addq.w A7, 4
label00005E86:
00005E86 4EAD DD48 jsr [A5 - 0x22B8]
00005E8A 584F addq.w A7, 4
00005E8C 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00005E90 4E75 rts
00005E92 2F0A move.l -[A7], A2
00005E94 246F 0008 movea.l A2, [A7 + 0x8]
00005E98 4878 0002 push.l 0x2
00005E9C 4878 0100 push.l 0x100
00005EA0 2F2F 0014 move.l -[A7], [A7 + 0x14]
00005EA4 2F2A 0148 move.l -[A7], [A2 + 0x148]
00005EA8 3F2A 0166 move.w -[A7], [A2 + 0x166]
00005EAC 4EAD E1B8 jsr [A5 - 0x1E48]
00005EB0 4A80 tst.l D0
00005EB2 4FEF 0012 lea.l A7, [A7 + 0x12]
00005EB6 6710 beq +0x12 /* 00005EC8 */
00005EB8 2F2F 000C move.l -[A7], [A7 + 0xC]
00005EBC 4EAD DA78 jsr [A5 - 0x2588]
00005EC0 7001 moveq.l D0, 0x01
00005EC2 584F addq.w A7, 4
00005EC4 245F movea.l A2, [A7]+
00005EC6 4E75 rts
label00005EC8:
00005EC8 7000 moveq.l D0, 0x00
00005ECA 245F movea.l A2, [A7]+
00005ECC 4E75 rts
00005ECE 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00005ED2 4FEF FFEE lea.l A7, [A7 - 0x12]
00005ED6 246F 0026 movea.l A2, [A7 + 0x26]
00005EDA 262F 002E move.l D3, [A7 + 0x2E]
00005EDE 42AF 0004 clr.l [A7 + 0x4]
00005EE2 264A movea.l A3, A2
00005EE4 2843 movea.l A4, D3
00005EE6 70FF moveq.l D0, 0xFFFFFFFF
00005EE8 2F40 000E move.l [A7 + 0xE], D0
00005EEC 42AF 000A clr.l [A7 + 0xA]
00005EF0 3F7C FFFF 0008 move.w [A7 + 0x8], 0xFFFF
00005EF6 2F0A move.l -[A7], A2
00005EF8 4EAD DD40 jsr [A5 - 0x22C0]
00005EFC 202F 002E move.l D0, [A7 + 0x2E]
00005F00 584F addq.w A7, 4
00005F02 4EAD D916 jsr [A5 - 0x26EA]
00005F06 018C bclr A4, D0
00005F08 0000 0001 ori.b D0, 0x1
00005F0C 0000 0201 ori.b D0, 0x1
00005F10 0007 0000 ori.b D7, 0x0
00005F14 0001 00A4 ori.b D1, 0xA4
00005F18 0000 0002 ori.b D0, 0x2
00005F1C 013C 0000 btst 0x0, D0
00005F20 0004 00CE ori.b D4, 0xCE
00005F24 0000 0005 ori.b D0, 0x5
00005F28 00AC 0000 0101 0068 ori.l [A4 + 0x68], 0x101
00005F30 0000 0102 ori.b D0, 0x2
00005F34 00F0 0000 ori.? [A0 + D0.w], 0xFFFFFFFFFFFFFFFF
00005F38 0105 btst D5, D0
00005F3A 0008 0000 ori.b A0, 0x0
00005F3E 0201 0028 andi.b D1, 0x28 /* '(' */
00005F42 4878 0001 push.l 0x1
00005F46 486F 000C pea.l [A7 + 0xC]
00005F4A 486F 0012 pea.l [A7 + 0x12]
00005F4E 3F2B 0166 move.w -[A7], [A3 + 0x166]
00005F52 2F03 move.l -[A7], D3
00005F54 42A7 clr.l -[A7]
00005F56 2F0A move.l -[A7], A2
00005F58 4EBA 11D2 jsr [PC + 0x11D2 /* 0000712C */]
00005F5C 2F40 0028 move.l [A7 + 0x28], D0
00005F60 4FEF 001A lea.l A7, [A7 + 0x1A]
00005F64 6000 012C bra +0x12E /* 00006092 */
00005F68 2843 movea.l A4, D3
00005F6A 42A7 clr.l -[A7]
00005F6C 486F 000C pea.l [A7 + 0xC]
00005F70 486F 0012 pea.l [A7 + 0x12]
00005F74 3F2B 0166 move.w -[A7], [A3 + 0x166]
00005F78 486C 0003 pea.l [A4 + 0x3]
00005F7C 7000 moveq.l D0, 0x00
00005F7E 102C 0002 move.b D0, [A4 + 0x2]
00005F82 2F00 move.l -[A7], D0
00005F84 2F0A move.l -[A7], A2
00005F86 4EBA 11A4 jsr [PC + 0x11A4 /* 0000712C */]
00005F8A 2F40 0028 move.l [A7 + 0x28], D0
00005F8E 4FEF 001A lea.l A7, [A7 + 0x1A]
00005F92 6000 00FE bra +0x100 /* 00006092 */
00005F96 42A7 clr.l -[A7]
00005F98 486F 000C pea.l [A7 + 0xC]
00005F9C 486F 0012 pea.l [A7 + 0x12]
00005FA0 3F2B 0166 move.w -[A7], [A3 + 0x166]
00005FA4 2F03 move.l -[A7], D3
00005FA6 42A7 clr.l -[A7]
00005FA8 2F0A move.l -[A7], A2
00005FAA 4EBA 1180 jsr [PC + 0x1180 /* 0000712C */]
00005FAE 2F40 0028 move.l [A7 + 0x28], D0
00005FB2 4FEF 001A lea.l A7, [A7 + 0x1A]
00005FB6 6000 00DA bra +0xDC /* 00006092 */
00005FBA 486F 000A pea.l [A7 + 0xA]
00005FBE 486F 0012 pea.l [A7 + 0x12]
00005FC2 2F03 move.l -[A7], D3
00005FC4 3F2B 0166 move.w -[A7], [A3 + 0x166]
00005FC8 4EAD E220 jsr [A5 - 0x1DE0]
00005FCC 4FEF 000E lea.l A7, [A7 + 0xE]
00005FD0 6000 00C0 bra +0xC2 /* 00006092 */
00005FD4 486B 00E6 pea.l [A3 + 0xE6]
00005FD8 486B 00E2 pea.l [A3 + 0xE2]
00005FDC 2F03 move.l -[A7], D3
00005FDE 3F2B 0166 move.w -[A7], [A3 + 0x166]
00005FE2 4EAD E220 jsr [A5 - 0x1DE0]
00005FE6 95CA sub.l A2, A2
00005FE8 4FEF 000E lea.l A7, [A7 + 0xE]
00005FEC 6000 00A4 bra +0xA6 /* 00006092 */
00005FF0 2F0A move.l -[A7], A2
00005FF2 206D 133A movea.l A0, [A5 + 0x133A /* export_611 */]
00005FF6 4E90 jsr [A0]
00005FF8 486F 0002 pea.l [A7 + 0x2]
00005FFC 486F 0004 pea.l [A7 + 0x4]
00006000 4EAD E340 jsr [A5 - 0x1CC0]
00006004 4267 clr.w -[A7]
00006006 302F 000A move.w D0, [A7 + 0xA]
0000600A 48C0 ext.l D0
0000600C 306F 000C movea.w A0, [A7 + 0xC]
00006010 2208 move.l D1, A0
00006012 7410 moveq.l D2, 0x10
00006014 E5A9 lsl D1, D2
00006016 8280 or.l D1, D0
00006018 2F01 move.l -[A7], D1
0000601A 4EAD E338 jsr [A5 - 0x1CC8]
0000601E 4FEF 000E lea.l A7, [A7 + 0xE]
00006022 606E bra +0x70 /* 00006092 */
00006024 2643 movea.l A3, D3
00006026 554F subq.w A7, 2
00006028 2F0B move.l -[A7], A3
0000602A 486F 000A pea.l [A7 + 0xA]
0000602E 204B movea.l A0, A3
00006030 70FF moveq.l D0, 0xFFFFFFFF
label00006032:
00006032 5280 addq.l D0, 1
00006034 4A18 tst.b [A0]+
00006036 66FA bne -0x4 /* 00006032 */
00006038 5280 addq.l D0, 1
0000603A 2F00 move.l -[A7], D0
0000603C 4EAD DA36 jsr [A5 - 0x25CA]
00006040 301F move.w D0, [A7]+
00006042 664E bne +0x50 /* 00006092 */
00006044 42A7 clr.l -[A7]
00006046 4227 clr.b -[A7]
00006048 2F2F 000A move.l -[A7], [A7 + 0xA]
0000604C 2F0A move.l -[A7], A2
0000604E 4EAD E978 jsr [A5 - 0x1688]
00006052 4FEF 000E lea.l A7, [A7 + 0xE]
00006056 603A bra +0x3C /* 00006092 */
00006058 200A move.l D0, A2
0000605A 6708 beq +0xA /* 00006064 */
0000605C 2F0A move.l -[A7], A2
0000605E 4EBA E386 jsr [PC - 0x1C7A /* 000043E6 */]
00006062 584F addq.w A7, 4
label00006064:
00006064 594F subq.w A7, 4
00006066 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
0000606A 4E90 jsr [A0]
0000606C 205F movea.l A0, [A7]+
0000606E 2448 movea.l A2, A0
00006070 600E bra +0x10 /* 00006080 */
label00006072:
00006072 302A 006C move.w D0, [A2 + 0x6C]
00006076 B06D B416 cmp.w D0, [A5 - 0x4BEA]
0000607A 6708 beq +0xA /* 00006084 */
0000607C 246A 0090 movea.l A2, [A2 + 0x90]
label00006080:
00006080 200A move.l D0, A2
00006082 66EE bne -0x10 /* 00006072 */
label00006084:
00006084 200A move.l D0, A2
00006086 6704 beq +0x6 /* 0000608C */
00006088 95CA sub.l A2, A2
0000608A 6006 bra +0x8 /* 00006092 */
label0000608C:
0000608C 4267 clr.w -[A7]
0000608E 4EAD DF88 jsr [A5 - 0x2078]
label00006092:
00006092 200A move.l D0, A2
00006094 6760 beq +0x62 /* 000060F6 */
00006096 2F0A move.l -[A7], A2
00006098 4EAD DD40 jsr [A5 - 0x22C0]
0000609C 4AAF 0012 tst.l [A7 + 0x12]
000060A0 584F addq.w A7, 4
000060A2 6D42 blt +0x44 /* 000060E6 */
000060A4 302F 0008 move.w D0, [A7 + 0x8]
000060A8 48C0 ext.l D0
000060AA 4A80 tst.l D0
000060AC 6D1C blt +0x1E /* 000060CA */
000060AE 42A7 clr.l -[A7]
000060B0 42A7 clr.l -[A7]
000060B2 42A7 clr.l -[A7]
000060B4 2F2F 001A move.l -[A7], [A7 + 0x1A]
000060B8 3F2F 0018 move.w -[A7], [A7 + 0x18]
000060BC 2F0A move.l -[A7], A2
000060BE 4EAD FF20 jsr [A5 - 0xE0]
000060C2 2448 movea.l A2, A0
000060C4 4FEF 0016 lea.l A7, [A7 + 0x16]
000060C8 601C bra +0x1E /* 000060E6 */
label000060CA:
000060CA 42A7 clr.l -[A7]
000060CC 42A7 clr.l -[A7]
000060CE 2F2F 0012 move.l -[A7], [A7 + 0x12]
000060D2 2F2F 001A move.l -[A7], [A7 + 0x1A]
000060D6 2F0A move.l -[A7], A2
000060D8 4EAD E9E0 jsr [A5 - 0x1620]
000060DC 4A40 tst.w D0
000060DE 4FEF 0014 lea.l A7, [A7 + 0x14]
000060E2 6702 beq +0x4 /* 000060E6 */
000060E4 95CA sub.l A2, A2
label000060E6:
000060E6 4EAD DD48 jsr [A5 - 0x22B8]
000060EA 200A move.l D0, A2
000060EC 6708 beq +0xA /* 000060F6 */
000060EE 2F0A move.l -[A7], A2
000060F0 206D 133E movea.l A0, [A5 + 0x133E]
000060F4 4E90 jsr [A0]
label000060F6:
000060F6 4EAD E968 jsr [A5 - 0x1698]
000060FA 4EAD DD48 jsr [A5 - 0x22B8]
000060FE 4AAF 0004 tst.l [A7 + 0x4]
00006102 6706 beq +0x8 /* 0000610A */
00006104 206F 0004 movea.l A0, [A7 + 0x4]
00006108 A023 syscall DisposHandle/DisposeHandle
label0000610A:
0000610A 4FEF 0012 lea.l A7, [A7 + 0x12]
0000610E 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00006112 4E75 rts
00006114 514F subq.w A7, 8
00006116 2EAF 000C move.l [A7], [A7 + 0xC]
0000611A 2F2F 0010 move.l -[A7], [A7 + 0x10]
0000611E 206F 0004 movea.l A0, [A7 + 0x4]
00006122 3F28 0166 move.w -[A7], [A0 + 0x166]
00006126 4EBA 00B4 jsr [PC + 0xB4 /* 000061DC */]
0000612A 2F48 000A move.l [A7 + 0xA], A0
0000612E 2008 move.l D0, A0
00006130 5C4F addq.w A7, 6
00006132 6708 beq +0xA /* 0000613C */
00006134 2F2F 0004 move.l -[A7], [A7 + 0x4]
00006138 4EAD DF80 jsr [A5 - 0x2080]
label0000613C:
0000613C 504F addq.w A7, 8
0000613E 4E75 rts
00006140 48E7 0038 movem.l -[A7], A2,A3,A4
00006144 514F subq.w A7, 8
00006146 266F 0018 movea.l A3, [A7 + 0x18]
0000614A 2F2F 0020 move.l -[A7], [A7 + 0x20]
0000614E 3F2B 0166 move.w -[A7], [A3 + 0x166]
00006152 4EBA 0088 jsr [PC + 0x88 /* 000061DC */]
00006156 2448 movea.l A2, A0
00006158 2008 move.l D0, A0
0000615A 5C4F addq.w A7, 6
0000615C 6738 beq +0x3A /* 00006196 */
0000615E 284A movea.l A4, A2
00006160 4857 pea.l [A7]
00006162 2F0B move.l -[A7], A3
00006164 4EBA 099E jsr [PC + 0x99E /* 00006B04 */]
00006168 486F 0008 pea.l [A7 + 0x8]
0000616C 2F2F 0028 move.l -[A7], [A7 + 0x28]
00006170 2F0C move.l -[A7], A4
00006172 4EBA 0A6C jsr [PC + 0xA6C /* 00006BE0 */]
00006176 4A80 tst.l D0
00006178 4FEF 0014 lea.l A7, [A7 + 0x14]
0000617C 6718 beq +0x1A /* 00006196 */
0000617E 2F0A move.l -[A7], A2
00006180 4EAD DD40 jsr [A5 - 0x22C0]
00006184 1F3C 0001 move.b -[A7], 0x1
00006188 2F0A move.l -[A7], A2
0000618A 4EBA 0C40 jsr [PC + 0xC40 /* 00006DCC */]
0000618E 4EAD DD48 jsr [A5 - 0x22B8]
00006192 4FEF 000A lea.l A7, [A7 + 0xA]
label00006196:
00006196 504F addq.w A7, 8
00006198 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000619C 4E75 rts
0000619E 2F0A move.l -[A7], A2
000061A0 4FEF FFF4 lea.l A7, [A7 - 0xC]
000061A4 246F 0014 movea.l A2, [A7 + 0x14]
000061A8 4857 pea.l [A7]
000061AA 486F 0008 pea.l [A7 + 0x8]
000061AE 486F 0010 pea.l [A7 + 0x10]
000061B2 4227 clr.b -[A7]
000061B4 2F2F 0022 move.l -[A7], [A7 + 0x22]
000061B8 4EAD E9C0 jsr [A5 - 0x1640]
000061BC 2F2F 0016 move.l -[A7], [A7 + 0x16]
000061C0 2F2F 001E move.l -[A7], [A7 + 0x1E]
000061C4 2F2A 0144 move.l -[A7], [A2 + 0x144]
000061C8 2F2F 0036 move.l -[A7], [A7 + 0x36]
000061CC 3F2A 0166 move.w -[A7], [A2 + 0x166]
000061D0 4EBA D466 jsr [PC - 0x2B9A /* 00003638 */]
000061D4 4FEF 0030 lea.l A7, [A7 + 0x30]
000061D8 245F movea.l A2, [A7]+
000061DA 4E75 rts
fn000061DC:
000061DC 48E7 1830 movem.l -[A7], D3,D4,A2,A3
000061E0 382F 0014 move.w D4, [A7 + 0x14]
000061E4 262F 0016 move.l D3, [A7 + 0x16]
000061E8 594F subq.w A7, 4
000061EA 2EB8 09D6 move.l [A7], [0x000009D6 /* WindowList */]
000061EE 205F movea.l A0, [A7]+
000061F0 2648 movea.l A3, A0
000061F2 6030 bra +0x32 /* 00006224 */
label000061F4:
000061F4 302B 006C move.w D0, [A3 + 0x6C]
000061F8 B06D B416 cmp.w D0, [A5 - 0x4BEA]
000061FC 6622 bne +0x24 /* 00006220 */
000061FE 244B movea.l A2, A3
00006200 4A2A 016A tst.b [A2 + 0x16A]
00006204 6708 beq +0xA /* 0000620E */
00006206 0C2A 0002 016A cmpi.b [A2 + 0x16A], 0x2
0000620C 6612 bne +0x14 /* 00006220 */
label0000620E:
0000620E B86A 0166 cmp.w D4, [A2 + 0x166]
00006212 660C bne +0xE /* 00006220 */
00006214 B6AA 0148 cmp.l D3, [A2 + 0x148]
00006218 6606 bne +0x8 /* 00006220 */
0000621A 4AAA 0134 tst.l [A2 + 0x134]
0000621E 6608 bne +0xA /* 00006228 */
label00006220:
00006220 266B 0090 movea.l A3, [A3 + 0x90]
label00006224:
00006224 200B move.l D0, A3
00006226 66CC bne -0x32 /* 000061F4 */
label00006228:
00006228 204B movea.l A0, A3
0000622A 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000622E 4E75 rts
fn00006230:
00006230 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00006234 262F 001C move.l D3, [A7 + 0x1C]
00006238 282F 0020 move.l D4, [A7 + 0x20]
0000623C 2C6F 0024 movea.l A6, [A7 + 0x24]
00006240 286F 0028 movea.l A4, [A7 + 0x28]
00006244 266F 002C movea.l A3, [A7 + 0x2C]
00006248 2443 movea.l A2, D3
0000624A 4A84 tst.l D4
0000624C 6D16 blt +0x18 /* 00006264 */
0000624E 2F04 move.l -[A7], D4
00006250 3F2A 0166 move.w -[A7], [A2 + 0x166]
00006254 4EBA FF86 jsr [PC - 0x7A /* 000061DC */]
00006258 2608 move.l D3, A0
0000625A 4A83 tst.l D3
0000625C 5C4F addq.w A7, 6
0000625E 6700 0084 beq +0x86 /* 000062E4 */
00006262 2443 movea.l A2, D3
label00006264:
00006264 4AAF 0030 tst.l [A7 + 0x30]
00006268 673E beq +0x40 /* 000062A8 */
0000626A 200C move.l D0, A4
0000626C 6710 beq +0x12 /* 0000627E */
0000626E 7001 moveq.l D0, 0x01
00006270 2540 0100 move.l [A2 + 0x100], D0
00006274 2554 00FA move.l [A2 + 0xFA], [A4]
00006278 356C 0004 00FE move.w [A2 + 0xFE], [A4 + 0x4]
label0000627E:
0000627E 200B move.l D0, A3
00006280 6710 beq +0x12 /* 00006292 */
00006282 7001 moveq.l D0, 0x01
00006284 2540 010A move.l [A2 + 0x10A], D0
00006288 2553 0104 move.l [A2 + 0x104], [A3]
0000628C 356B 0004 0108 move.w [A2 + 0x108], [A3 + 0x4]
label00006292:
00006292 200E move.l D0, A6
00006294 674E beq +0x50 /* 000062E4 */
00006296 7001 moveq.l D0, 0x01
00006298 2540 0114 move.l [A2 + 0x114], D0
0000629C 2556 010E move.l [A2 + 0x10E], [A6]
000062A0 356E 0004 0112 move.w [A2 + 0x112], [A6 + 0x4]
000062A6 603C bra +0x3E /* 000062E4 */
label000062A8:
000062A8 4AAA 0100 tst.l [A2 + 0x100]
000062AC 670E beq +0x10 /* 000062BC */
000062AE 200C move.l D0, A4
000062B0 670A beq +0xC /* 000062BC */
000062B2 28AA 00FA move.l [A4], [A2 + 0xFA]
000062B6 396A 00FE 0004 move.w [A4 + 0x4], [A2 + 0xFE]
label000062BC:
000062BC 4AAA 010A tst.l [A2 + 0x10A]
000062C0 670E beq +0x10 /* 000062D0 */
000062C2 200B move.l D0, A3
000062C4 670A beq +0xC /* 000062D0 */
000062C6 26AA 0104 move.l [A3], [A2 + 0x104]
000062CA 376A 0108 0004 move.w [A3 + 0x4], [A2 + 0x108]
label000062D0:
000062D0 4AAA 0114 tst.l [A2 + 0x114]
000062D4 670E beq +0x10 /* 000062E4 */
000062D6 200E move.l D0, A6
000062D8 670A beq +0xC /* 000062E4 */
000062DA 2CAA 010E move.l [A6], [A2 + 0x10E]
000062DE 3D6A 0112 0004 move.w [A6 + 0x4], [A2 + 0x112]
label000062E4:
000062E4 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
000062E8 4E75 rts
fn000062EA:
000062EA 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
000062EE 266F 0020 movea.l A3, [A7 + 0x20]
000062F2 2A2F 0024 move.l D5, [A7 + 0x24]
000062F6 282F 0028 move.l D4, [A7 + 0x28]
000062FA 262F 002C move.l D3, [A7 + 0x2C]
000062FE 2C6F 0030 movea.l A6, [A7 + 0x30]
00006302 286F 0034 movea.l A4, [A7 + 0x34]
00006306 244B movea.l A2, A3
00006308 4A85 tst.l D5
0000630A 6D14 blt +0x16 /* 00006320 */
0000630C 2F05 move.l -[A7], D5
0000630E 3F2A 0166 move.w -[A7], [A2 + 0x166]
00006312 4EBA FEC8 jsr [PC - 0x138 /* 000061DC */]
00006316 2648 movea.l A3, A0
00006318 200B move.l D0, A3
0000631A 5C4F addq.w A7, 6
0000631C 673E beq +0x40 /* 0000635C */
0000631E 244B movea.l A2, A3
label00006320:
00006320 4AAF 0038 tst.l [A7 + 0x38]
00006324 671C beq +0x1E /* 00006342 */
00006326 7001 moveq.l D0, 0x01
00006328 2540 0118 move.l [A2 + 0x118], D0
0000632C 2044 movea.l A0, D4
0000632E 3550 0124 move.w [A2 + 0x124], [A0]
00006332 2043 movea.l A0, D3
00006334 3550 0126 move.w [A2 + 0x126], [A0]
00006338 2556 011C move.l [A2 + 0x11C], [A6]
0000633C 2554 0120 move.l [A2 + 0x120], [A4]
00006340 601A bra +0x1C /* 0000635C */
label00006342:
00006342 4AAA 0118 tst.l [A2 + 0x118]
00006346 6714 beq +0x16 /* 0000635C */
00006348 2044 movea.l A0, D4
0000634A 30AA 0124 move.w [A0], [A2 + 0x124]
0000634E 2043 movea.l A0, D3
00006350 30AA 0126 move.w [A0], [A2 + 0x126]
00006354 2CAA 011C move.l [A6], [A2 + 0x11C]
00006358 28AA 0120 move.l [A4], [A2 + 0x120]
label0000635C:
0000635C 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00006360 4E75 rts
00006362 48E7 0030 movem.l -[A7], A2,A3
00006366 594F subq.w A7, 4
00006368 266F 0010 movea.l A3, [A7 + 0x10]
0000636C 2F2F 0014 move.l -[A7], [A7 + 0x14]
00006370 3F2B 0166 move.w -[A7], [A3 + 0x166]
00006374 4EBA FE66 jsr [PC - 0x19A /* 000061DC */]
00006378 2448 movea.l A2, A0
0000637A 2008 move.l D0, A0
0000637C 5C4F addq.w A7, 6
0000637E 674A beq +0x4C /* 000063CA */
00006380 202F 0024 move.l D0, [A7 + 0x24]
00006384 57C0 seq D0
00006386 4400 neg.b D0
00006388 4880 ext.w D0
0000638A 48C0 ext.l D0
0000638C 2E80 move.l [A7], D0
0000638E 2F0A move.l -[A7], A2
00006390 4EAD DD40 jsr [A5 - 0x22C0]
00006394 4878 0001 push.l 0x1
00006398 486F 0008 pea.l [A7 + 0x8]
0000639C 486F 0028 pea.l [A7 + 0x28]
000063A0 486F 002A pea.l [A7 + 0x2A]
000063A4 486F 002C pea.l [A7 + 0x2C]
000063A8 4878 FFFF push.l 0xFFFF
000063AC 2F0A move.l -[A7], A2
000063AE 4EBA FF3A jsr [PC - 0xC6 /* 000062EA */]
000063B2 2F0A move.l -[A7], A2
000063B4 4EBA 11B8 jsr [PC + 0x11B8 /* 0000756E */]
000063B8 1F3C 0001 move.b -[A7], 0x1
000063BC 2F0B move.l -[A7], A3
000063BE 4EBA 0A0C jsr [PC + 0xA0C /* 00006DCC */]
000063C2 4EAD DD48 jsr [A5 - 0x22B8]
000063C6 4FEF 002A lea.l A7, [A7 + 0x2A]
label000063CA:
000063CA 584F addq.w A7, 4
000063CC 4CDF 0C00 movem.l A2,A3, [A7]+
000063D0 4E75 rts
000063D2 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
000063D6 4FEF FEB6 lea.l A7, [A7 - 0x14A]
000063DA 286F 0172 movea.l A4, [A7 + 0x172]
000063DE 266F 0162 movea.l A3, [A7 + 0x162]
000063E2 2F2F 0166 move.l -[A7], [A7 + 0x166]
000063E6 3F2B 0166 move.w -[A7], [A3 + 0x166]
000063EA 4EBA FDF0 jsr [PC - 0x210 /* 000061DC */]
000063EE 2C48 movea.l A6, A0
000063F0 2008 move.l D0, A0
000063F2 5C4F addq.w A7, 6
000063F4 6700 00E6 beq +0xE8 /* 000064DC */
000063F8 200C move.l D0, A4
000063FA 6700 0096 beq +0x98 /* 00006492 */
000063FE 2054 movea.l A0, [A4]
00006400 4A10 tst.b [A0]
00006402 6700 008E beq +0x90 /* 00006492 */
00006406 7600 moveq.l D3, 0x00
00006408 2F0C move.l -[A7], A4
0000640A 4EAD DD80 jsr [A5 - 0x2280]
0000640E 2448 movea.l A2, A0
00006410 584F addq.w A7, 4
00006412 6002 bra +0x4 /* 00006416 */
label00006414:
00006414 528A addq.l A2, 1
label00006416:
00006416 4A12 tst.b [A2]
00006418 6718 beq +0x1A /* 00006432 */
0000641A 7000 moveq.l D0, 0x00
0000641C 1012 move.b D0, [A2]
0000641E 206D 1B8C movea.l A0, [A5 + 0x1B8C]
00006422 1030 0000 move.b D0, [A0 + D0.w]
00006426 7244 moveq.l D1, 0x44
00006428 C081 and.l D0, D1
0000642A 66E8 bne -0x16 /* 00006414 */
0000642C 0C12 0021 cmpi.b [A2], 0x21 /* '!' */
00006430 67E2 beq -0x1C /* 00006414 */
label00006432:
00006432 486F 0104 pea.l [A7 + 0x104]
00006436 2F2B 009E move.l -[A7], [A3 + 0x9E]
0000643A 3F2B 009C move.w -[A7], [A3 + 0x9C]
0000643E 2F0A move.l -[A7], A2
00006440 4EAD E478 jsr [A5 - 0x1B88]
00006444 3600 move.w D3, D0
00006446 2F0C move.l -[A7], A4
00006448 4EAD DD88 jsr [A5 - 0x2278]
0000644C 4A43 tst.w D3
0000644E 4FEF 0012 lea.l A7, [A7 + 0x12]
00006452 662C bne +0x2E /* 00006480 */
00006454 42A7 clr.l -[A7]
00006456 42A7 clr.l -[A7]
00006458 486F 0108 pea.l [A7 + 0x108]
0000645C 486F 0110 pea.l [A7 + 0x110]
00006460 4EAD DC2E jsr [A5 - 0x23D2]
00006464 3600 move.w D3, D0
00006466 4A43 tst.w D3
00006468 4FEF 0010 lea.l A7, [A7 + 0x10]
0000646C 6612 bne +0x14 /* 00006480 */
0000646E 4AAB 0128 tst.l [A3 + 0x128]
00006472 6706 beq +0x8 /* 0000647A */
00006474 2F2B 0128 move.l -[A7], [A3 + 0x128]
00006478 A8F5 syscall KillPicture
label0000647A:
0000647A 276F 0100 0128 move.l [A3 + 0x128], [A7 + 0x100]
label00006480:
00006480 4A43 tst.w D3
00006482 6738 beq +0x3A /* 000064BC */
00006484 3F03 move.w -[A7], D3
00006486 3F3C 0001 move.w -[A7], 0x1
0000648A 4EAD DE98 jsr [A5 - 0x2168]
0000648E 584F addq.w A7, 4
00006490 602A bra +0x2C /* 000064BC */
label00006492:
00006492 4AAB 0128 tst.l [A3 + 0x128]
00006496 670A beq +0xC /* 000064A2 */
00006498 2F2B 0128 move.l -[A7], [A3 + 0x128]
0000649C A8F5 syscall KillPicture
0000649E 42AB 0128 clr.l [A3 + 0x128]
label000064A2:
000064A2 4878 0001 push.l 0x1
000064A6 42A7 clr.l -[A7]
000064A8 42A7 clr.l -[A7]
000064AA 2F2F 017A move.l -[A7], [A7 + 0x17A]
000064AE 4878 FFFF push.l 0xFFFF
000064B2 2F0E move.l -[A7], A6
000064B4 4EBA FD7A jsr [PC - 0x286 /* 00006230 */]
000064B8 4FEF 0018 lea.l A7, [A7 + 0x18]
label000064BC:
000064BC 2F0E move.l -[A7], A6
000064BE 4EBA 10AE jsr [PC + 0x10AE /* 0000756E */]
000064C2 206F 016E movea.l A0, [A7 + 0x16E]
000064C6 2F10 move.l -[A7], [A0]
000064C8 486F 0008 pea.l [A7 + 0x8]
000064CC 4EAD DDC8 jsr [A5 - 0x2238]
000064D0 2F0E move.l -[A7], A6
000064D2 486F 0010 pea.l [A7 + 0x10]
000064D6 A91A syscall SetWTitle
000064D8 4FEF 000C lea.l A7, [A7 + 0xC]
label000064DC:
000064DC 4FEF 014A lea.l A7, [A7 + 0x14A]
000064E0 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
000064E4 4E75 rts
000064E6 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
000064EA 514F subq.w A7, 8
000064EC 2C6F 0028 movea.l A6, [A7 + 0x28]
000064F0 262F 002C move.l D3, [A7 + 0x2C]
000064F4 266F 0020 movea.l A3, [A7 + 0x20]
000064F8 2F2F 0024 move.l -[A7], [A7 + 0x24]
000064FC 3F2B 0166 move.w -[A7], [A3 + 0x166]
00006500 4EBA FCDA jsr [PC - 0x326 /* 000061DC */]
00006504 2448 movea.l A2, A0
00006506 2008 move.l D0, A0
00006508 5C4F addq.w A7, 6
0000650A 674C beq +0x4E /* 00006558 */
0000650C 4A83 tst.l D3
0000650E 6706 beq +0x8 /* 00006516 */
00006510 284E movea.l A4, A6
00006512 97CB sub.l A3, A3
00006514 6004 bra +0x6 /* 0000651A */
label00006516:
00006516 99CC sub.l A4, A4
00006518 264E movea.l A3, A6
label0000651A:
0000651A 4878 0001 push.l 0x1
0000651E 2F0C move.l -[A7], A4
00006520 2F0B move.l -[A7], A3
00006522 42A7 clr.l -[A7]
00006524 4878 FFFF push.l 0xFFFF
00006528 2F0A move.l -[A7], A2
0000652A 4EBA FD04 jsr [PC - 0x2FC /* 00006230 */]
0000652E 2F0A move.l -[A7], A2
00006530 4EAD DD40 jsr [A5 - 0x22C0]
00006534 4A83 tst.l D3
00006536 6604 bne +0x6 /* 0000653C */
00006538 7000 moveq.l D0, 0x00
0000653A 6002 bra +0x4 /* 0000653E */
label0000653C:
0000653C 7001 moveq.l D0, 0x01
label0000653E:
0000653E 1F00 move.b -[A7], D0
00006540 486F 001E pea.l [A7 + 0x1E]
00006544 2F0A move.l -[A7], A2
00006546 4EAD EA38 jsr [A5 - 0x15C8]
0000654A 486F 0026 pea.l [A7 + 0x26]
0000654E A928 syscall InvalRect
00006550 4EAD DD48 jsr [A5 - 0x22B8]
00006554 4FEF 0026 lea.l A7, [A7 + 0x26]
label00006558:
00006558 504F addq.w A7, 8
0000655A 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
0000655E 4E75 rts
00006560 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00006564 4FEF FFA8 lea.l A7, [A7 - 0x58]
00006568 266F 006C movea.l A3, [A7 + 0x6C]
0000656C 262F 0070 move.l D3, [A7 + 0x70]
00006570 244B movea.l A2, A3
00006572 2F0B move.l -[A7], A3
00006574 4EAD DD40 jsr [A5 - 0x22C0]
00006578 4878 0058 push.l 0x58 /* 'X' */
0000657C 42A7 clr.l -[A7]
0000657E 486F 000C pea.l [A7 + 0xC]
00006582 4EAD D94C jsr [A5 - 0x26B4]
00006586 2F4B 0058 move.l [A7 + 0x58], A3
0000658A 2F03 move.l -[A7], D3
0000658C 2F0A move.l -[A7], A2
0000658E 4EBA 0F38 jsr [PC + 0xF38 /* 000074C8 */]
00006592 2F40 006C move.l [A7 + 0x6C], D0
00006596 0C83 4350 4E4C cmpi.l D3, 0x43504E4C /* 'CPNL' */
0000659C 4FEF 0018 lea.l A7, [A7 + 0x18]
000065A0 660A bne +0xC /* 000065AC */
000065A2 4857 pea.l [A7]
000065A4 4EBA 9B98 jsr [PC - 0x6468 /* 0000013E */]
000065A8 584F addq.w A7, 4
000065AA 6012 bra +0x14 /* 000065BE */
label000065AC:
000065AC 0C83 544F 5043 cmpi.l D3, 0x544F5043 /* 'TOPC' */
000065B2 660A bne +0xC /* 000065BE */
000065B4 4857 pea.l [A7]
000065B6 4EAD E9B8 jsr [A5 - 0x1648]
000065BA 584F addq.w A7, 4
000065BC 4E71 nop
label000065BE:
000065BE 594F subq.w A7, 4
000065C0 2F2A 0134 move.l -[A7], [A2 + 0x134]
000065C4 4EAD D9AC jsr [A5 - 0x2654]
000065C8 201F move.l D0, [A7]+
000065CA 2600 move.l D3, D0
000065CC 4857 pea.l [A7]
000065CE 2F0A move.l -[A7], A2
000065D0 4EBA 02DC jsr [PC + 0x2DC /* 000068AE */]
000065D4 3800 move.w D4, D0
000065D6 504F addq.w A7, 8
000065D8 662A bne +0x2C /* 00006604 */
000065DA 2F2A 0134 move.l -[A7], [A2 + 0x134]
000065DE 4EAD DD80 jsr [A5 - 0x2280]
000065E2 D1C3 add.l A0, D3
000065E4 2648 movea.l A3, A0
000065E6 4227 clr.b -[A7]
000065E8 2F0B move.l -[A7], A3
000065EA 206B 0028 movea.l A0, [A3 + 0x28]
000065EE 4E90 jsr [A0]
000065F0 2F0B move.l -[A7], A3
000065F2 4EAD EA98 jsr [A5 - 0x1568]
000065F6 2F2A 0134 move.l -[A7], [A2 + 0x134]
000065FA 4EAD DD88 jsr [A5 - 0x2278]
000065FE 4FEF 0012 lea.l A7, [A7 + 0x12]
00006602 600C bra +0xE /* 00006610 */
label00006604:
00006604 3F04 move.w -[A7], D4
00006606 3F3C 0002 move.w -[A7], 0x2
0000660A 4EAD DE98 jsr [A5 - 0x2168]
0000660E 584F addq.w A7, 4
label00006610:
00006610 4EAD DD48 jsr [A5 - 0x22B8]
00006614 4FEF 0058 lea.l A7, [A7 + 0x58]
00006618 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000661C 4E75 rts
0000661E 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00006622 246F 001C movea.l A2, [A7 + 0x1C]
00006626 2C2F 0020 move.l D6, [A7 + 0x20]
0000662A 7600 moveq.l D3, 0x00
0000662C 2F2F 0024 move.l -[A7], [A7 + 0x24]
00006630 3F2A 0166 move.w -[A7], [A2 + 0x166]
00006634 4EBA FBA6 jsr [PC - 0x45A /* 000061DC */]
00006638 2448 movea.l A2, A0
0000663A 2008 move.l D0, A0
0000663C 5C4F addq.w A7, 6
0000663E 6700 0080 beq +0x82 /* 000066C0 */
00006642 264A movea.l A3, A2
00006644 2F0A move.l -[A7], A2
00006646 4EAD DD40 jsr [A5 - 0x22C0]
0000664A 2F2B 0134 move.l -[A7], [A3 + 0x134]
0000664E 4EAD D9AC jsr [A5 - 0x2654]
00006652 201F move.l D0, [A7]+
00006654 7258 moveq.l D1, 0x58
00006656 4EAD D8FE jsr [A5 - 0x2702]
0000665A 2800 move.l D4, D0
0000665C 2A00 move.l D5, D0
0000665E 2F2B 0134 move.l -[A7], [A3 + 0x134]
00006662 4EAD DD80 jsr [A5 - 0x2280]
00006666 2448 movea.l A2, A0
00006668 7601 moveq.l D3, 0x01
0000666A 584F addq.w A7, 4
0000666C 602E bra +0x30 /* 0000669C */
label0000666E:
0000666E 0CAA 544F 5043 004C cmpi.l [A2 + 0x4C], 0x544F5043 /* 'TOPC' */
00006676 661E bne +0x20 /* 00006696 */
00006678 2F0A move.l -[A7], A2
0000667A 4EAD EAA0 jsr [A5 - 0x1560]
0000667E BC80 cmp.l D6, D0
00006680 584F addq.w A7, 4
00006682 6612 bne +0x14 /* 00006696 */
00006684 2F04 move.l -[A7], D4
00006686 2F03 move.l -[A7], D3
00006688 2F0A move.l -[A7], A2
0000668A 4EBA 0E82 jsr [PC + 0xE82 /* 0000750E */]
0000668E 5385 subq.l D5, 1
00006690 4FEF 000C lea.l A7, [A7 + 0xC]
00006694 6004 bra +0x6 /* 0000669A */
label00006696:
00006696 7058 moveq.l D0, 0x58
00006698 D5C0 add.l A2, D0
label0000669A:
0000669A 5283 addq.l D3, 1
label0000669C:
0000669C B684 cmp.l D3, D4
0000669E 6FCE ble -0x30 /* 0000666E */
000066A0 2F2B 0134 move.l -[A7], [A3 + 0x134]
000066A4 4EAD DD88 jsr [A5 - 0x2278]
000066A8 BA84 cmp.l D5, D4
000066AA 584F addq.w A7, 4
000066AC 670E beq +0x10 /* 000066BC */
000066AE 2005 move.l D0, D5
000066B0 7258 moveq.l D1, 0x58
000066B2 4EAD D8F8 jsr [A5 - 0x2708]
000066B6 206B 0134 movea.l A0, [A3 + 0x134]
000066BA A024 syscall SetHandleSize
label000066BC:
000066BC 4EAD DD48 jsr [A5 - 0x22B8]
label000066C0:
000066C0 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
000066C4 4E75 rts
000066C6 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
000066CA 246F 001C movea.l A2, [A7 + 0x1C]
000066CE 1C2F 0020 move.b D6, [A7 + 0x20]
000066D2 264A movea.l A3, A2
000066D4 2F0A move.l -[A7], A2
000066D6 4EAD DD40 jsr [A5 - 0x22C0]
000066DA 2F2B 0134 move.l -[A7], [A3 + 0x134]
000066DE 4EAD D9AC jsr [A5 - 0x2654]
000066E2 201F move.l D0, [A7]+
000066E4 7258 moveq.l D1, 0x58
000066E6 4EAD D8FE jsr [A5 - 0x2702]
000066EA 2800 move.l D4, D0
000066EC 2A00 move.l D5, D0
000066EE 2F2B 0134 move.l -[A7], [A3 + 0x134]
000066F2 4EAD DD80 jsr [A5 - 0x2280]
000066F6 2448 movea.l A2, A0
000066F8 7601 moveq.l D3, 0x01
000066FA 584F addq.w A7, 4
000066FC 603C bra +0x3E /* 0000673A */
label000066FE:
000066FE 0CAA 544F 5043 004C cmpi.l [A2 + 0x4C], 0x544F5043 /* 'TOPC' */
00006706 662C bne +0x2E /* 00006734 */
00006708 4AAA 0054 tst.l [A2 + 0x54]
0000670C 6726 beq +0x28 /* 00006734 */
0000670E 2F0A move.l -[A7], A2
00006710 4EAD EA90 jsr [A5 - 0x1570]
00006714 7200 moveq.l D1, 0x00
00006716 1200 move.b D1, D0
00006718 7000 moveq.l D0, 0x00
0000671A 1006 move.b D0, D6
0000671C C081 and.l D0, D1
0000671E 584F addq.w A7, 4
00006720 6712 beq +0x14 /* 00006734 */
00006722 2F04 move.l -[A7], D4
00006724 2F03 move.l -[A7], D3
00006726 2F0A move.l -[A7], A2
00006728 4EBA 0DE4 jsr [PC + 0xDE4 /* 0000750E */]
0000672C 5385 subq.l D5, 1
0000672E 4FEF 000C lea.l A7, [A7 + 0xC]
00006732 6004 bra +0x6 /* 00006738 */
label00006734:
00006734 7058 moveq.l D0, 0x58
00006736 D5C0 add.l A2, D0
label00006738:
00006738 5283 addq.l D3, 1
label0000673A:
0000673A B684 cmp.l D3, D4
0000673C 6FC0 ble -0x3E /* 000066FE */
0000673E 2F2B 0134 move.l -[A7], [A3 + 0x134]
00006742 4EAD DD88 jsr [A5 - 0x2278]
00006746 BA84 cmp.l D5, D4
00006748 584F addq.w A7, 4
0000674A 670E beq +0x10 /* 0000675A */
0000674C 2005 move.l D0, D5
0000674E 7258 moveq.l D1, 0x58
00006750 4EAD D8F8 jsr [A5 - 0x2708]
00006754 206B 0134 movea.l A0, [A3 + 0x134]
00006758 A024 syscall SetHandleSize
label0000675A:
0000675A 4EAD DD48 jsr [A5 - 0x22B8]
0000675E 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00006762 4E75 rts
fn00006764:
00006764 2F0A move.l -[A7], A2
00006766 594F subq.w A7, 4
00006768 4AAD 8D16 tst.l [A5 - 0x72EA]
0000676C 6724 beq +0x26 /* 00006792 */
0000676E A11A syscall GetZone, flags=1
00006770 2E88 move.l [A7], A0
00006772 206D 8D16 movea.l A0, [A5 - 0x72EA]
00006776 A01B syscall SetZone
00006778 203C 0000 016C move.l D0, 0x16C
0000677E A31E syscall NewPtrClear, flags=3
00006780 2448 movea.l A2, A0
00006782 2057 movea.l A0, [A7]
00006784 A01B syscall SetZone
00006786 200A move.l D0, A2
00006788 6708 beq +0xA /* 00006792 */
0000678A 204A movea.l A0, A2
0000678C 584F addq.w A7, 4
0000678E 245F movea.l A2, [A7]+
00006790 4E75 rts
label00006792:
00006792 203C 0000 016C move.l D0, 0x16C
00006798 A31E syscall NewPtrClear, flags=3
0000679A 2448 movea.l A2, A0
0000679C 2008 move.l D0, A0
0000679E 6614 bne +0x16 /* 000067B4 */
000067A0 554F subq.w A7, 2
000067A2 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000067A6 301F move.w D0, [A7]+
000067A8 3F00 move.w -[A7], D0
000067AA 3F3C 0002 move.w -[A7], 0x2
000067AE 4EAD DE98 jsr [A5 - 0x2168]
000067B2 584F addq.w A7, 4
label000067B4:
000067B4 204A movea.l A0, A2
000067B6 584F addq.w A7, 4
000067B8 245F movea.l A2, [A7]+
000067BA 4E75 rts
fn000067BC:
000067BC 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
000067C0 4FEF FFA8 lea.l A7, [A7 - 0x58]
000067C4 246F 006C movea.l A2, [A7 + 0x6C]
000067C8 7000 moveq.l D0, 0x00
000067CA A122 syscall NewHandle, flags=1
000067CC 2548 0134 move.l [A2 + 0x134], A0
000067D0 554F subq.w A7, 2
000067D2 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000067D6 301F move.w D0, [A7]+
000067D8 3A00 move.w D5, D0
000067DA 670C beq +0xE /* 000067E8 */
000067DC 3005 move.w D0, D5
000067DE 4FEF 0058 lea.l A7, [A7 + 0x58]
000067E2 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000067E6 4E75 rts
label000067E8:
000067E8 4A2A 016A tst.b [A2 + 0x16A]
000067EC 6618 bne +0x1A /* 00006806 */
000067EE 2F0A move.l -[A7], A2
000067F0 4EBA 0282 jsr [PC + 0x282 /* 00006A74 */]
000067F4 3A00 move.w D5, D0
000067F6 584F addq.w A7, 4
000067F8 670C beq +0xE /* 00006806 */
000067FA 3005 move.w D0, D5
000067FC 4FEF 0058 lea.l A7, [A7 + 0x58]
00006800 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00006804 4E75 rts
label00006806:
00006806 7600 moveq.l D3, 0x00
00006808 6000 0090 bra +0x92 /* 0000689A */
label0000680C:
0000680C 7800 moveq.l D4, 0x00
0000680E 4878 0058 push.l 0x58 /* 'X' */
00006812 42A7 clr.l -[A7]
00006814 486F 0008 pea.l [A7 + 0x8]
00006818 4EAD D94C jsr [A5 - 0x26B4]
0000681C 2F4A 0054 move.l [A7 + 0x54], A2
00006820 42AF 0060 clr.l [A7 + 0x60]
00006824 4FEF 000C lea.l A7, [A7 + 0xC]
00006828 2003 move.l D0, D3
0000682A 6708 beq +0xA /* 00006834 */
0000682C 5380 subq.l D0, 1
0000682E 6718 beq +0x1A /* 00006848 */
00006830 4E71 nop
00006832 6052 bra +0x54 /* 00006886 */
label00006834:
00006834 4A2A 016A tst.b [A2 + 0x16A]
00006838 660A bne +0xC /* 00006844 */
0000683A 4857 pea.l [A7]
0000683C 4EBA 9900 jsr [PC - 0x6700 /* 0000013E */]
00006840 584F addq.w A7, 4
00006842 6042 bra +0x44 /* 00006886 */
label00006844:
00006844 7801 moveq.l D4, 0x01
00006846 603E bra +0x40 /* 00006886 */
label00006848:
00006848 0C2A 0003 016A cmpi.b [A2 + 0x16A], 0x3
0000684E 660A bne +0xC /* 0000685A */
00006850 4857 pea.l [A7]
00006852 4EAD F498 jsr [A5 - 0xB68]
00006856 584F addq.w A7, 4
00006858 602C bra +0x2E /* 00006886 */
label0000685A:
0000685A 0C2A 0004 016A cmpi.b [A2 + 0x16A], 0x4
00006860 660A bne +0xC /* 0000686C */
00006862 4857 pea.l [A7]
00006864 4EAD FC98 jsr [A5 - 0x368]
00006868 584F addq.w A7, 4
0000686A 601A bra +0x1C /* 00006886 */
label0000686C:
0000686C 0C2A 0006 016A cmpi.b [A2 + 0x16A], 0x6
00006872 660A bne +0xC /* 0000687E */
00006874 4857 pea.l [A7]
00006876 4EAD FDB8 jsr [A5 - 0x248]
0000687A 584F addq.w A7, 4
0000687C 6008 bra +0xA /* 00006886 */
label0000687E:
0000687E 4857 pea.l [A7]
00006880 4EAD E9B8 jsr [A5 - 0x1648]
00006884 584F addq.w A7, 4
label00006886:
00006886 4A84 tst.l D4
00006888 660E bne +0x10 /* 00006898 */
0000688A 4857 pea.l [A7]
0000688C 2F0A move.l -[A7], A2
0000688E 4EBA 001E jsr [PC + 0x1E /* 000068AE */]
00006892 3A00 move.w D5, D0
00006894 504F addq.w A7, 8
00006896 660A bne +0xC /* 000068A2 */
label00006898:
00006898 5283 addq.l D3, 1
label0000689A:
0000689A 7002 moveq.l D0, 0x02
0000689C B680 cmp.l D3, D0
0000689E 6D00 FF6C blt -0x92 /* 0000680C */
label000068A2:
000068A2 3005 move.w D0, D5
000068A4 4FEF 0058 lea.l A7, [A7 + 0x58]
000068A8 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000068AC 4E75 rts
fn000068AE:
000068AE 48E7 1030 movem.l -[A7], D3,A2,A3
000068B2 266F 0010 movea.l A3, [A7 + 0x10]
000068B6 246F 0014 movea.l A2, [A7 + 0x14]
000068BA 3F2B 0166 move.w -[A7], [A3 + 0x166]
000068BE 2F0A move.l -[A7], A2
000068C0 2052 movea.l A0, [A2]
000068C2 4E90 jsr [A0]
000068C4 3600 move.w D3, D0
000068C6 5C4F addq.w A7, 6
000068C8 6708 beq +0xA /* 000068D2 */
000068CA 3003 move.w D0, D3
000068CC 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000068D0 4E75 rts
label000068D2:
000068D2 204A movea.l A0, A2
000068D4 226B 0134 movea.l A1, [A3 + 0x134]
000068D8 7058 moveq.l D0, 0x58
000068DA A9EF syscall PtrAndHand
000068DC 3600 move.w D3, D0
000068DE 6712 beq +0x14 /* 000068F2 */
000068E0 2F0A move.l -[A7], A2
000068E2 206A 0004 movea.l A0, [A2 + 0x4]
000068E6 4E90 jsr [A0]
000068E8 3003 move.w D0, D3
000068EA 584F addq.w A7, 4
000068EC 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000068F0 4E75 rts
label000068F2:
000068F2 7000 moveq.l D0, 0x00
000068F4 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000068F8 4E75 rts
fn000068FA:
000068FA 2F0A move.l -[A7], A2
000068FC 514F subq.w A7, 8
000068FE 246F 0010 movea.l A2, [A7 + 0x10]
00006902 4227 clr.b -[A7]
00006904 486F 0002 pea.l [A7 + 0x2]
00006908 486F 000A pea.l [A7 + 0xA]
0000690C 2F0A move.l -[A7], A2
0000690E 4EBA EE22 jsr [PC - 0x11DE /* 00005732 */]
00006912 4FEF 000E lea.l A7, [A7 + 0xE]
00006916 6010 bra +0x12 /* 00006928 */
label00006918:
00006918 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000691C 206F 0008 movea.l A0, [A7 + 0x8]
00006920 2068 0004 movea.l A0, [A0 + 0x4]
00006924 4E90 jsr [A0]
00006926 584F addq.w A7, 4
label00006928:
00006928 1F3C 0001 move.b -[A7], 0x1
0000692C 486F 0002 pea.l [A7 + 0x2]
00006930 486F 000A pea.l [A7 + 0xA]
00006934 2F0A move.l -[A7], A2
00006936 4EBA EDFA jsr [PC - 0x1206 /* 00005732 */]
0000693A 4A80 tst.l D0
0000693C 4FEF 000E lea.l A7, [A7 + 0xE]
00006940 66D6 bne -0x28 /* 00006918 */
00006942 1F3C 0002 move.b -[A7], 0x2
00006946 486F 0002 pea.l [A7 + 0x2]
0000694A 486F 000A pea.l [A7 + 0xA]
0000694E 2F0A move.l -[A7], A2
00006950 4EBA EDE0 jsr [PC - 0x1220 /* 00005732 */]
00006954 4AAA 0134 tst.l [A2 + 0x134]
00006958 4FEF 000E lea.l A7, [A7 + 0xE]
0000695C 670A beq +0xC /* 00006968 */
0000695E 206A 0134 movea.l A0, [A2 + 0x134]
00006962 A023 syscall DisposHandle/DisposeHandle
00006964 42AA 0134 clr.l [A2 + 0x134]
label00006968:
00006968 504F addq.w A7, 8
0000696A 245F movea.l A2, [A7]+
0000696C 4E75 rts
fn0000696E:
0000696E 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00006972 4FEF FFE8 lea.l A7, [A7 - 0x18]
00006976 286F 0030 movea.l A4, [A7 + 0x30]
0000697A 97CB sub.l A3, A3
0000697C 7800 moveq.l D4, 0x00
0000697E 7000 moveq.l D0, 0x00
00006980 102D 81A0 move.b D0, [A5 - 0x7E60]
00006984 7202 moveq.l D1, 0x02
00006986 B081 cmp.l D0, D1
00006988 6D00 00E0 blt +0xE2 /* 00006A6A */
0000698C 486F 0008 pea.l [A7 + 0x8]
00006990 2F0C move.l -[A7], A4
00006992 4EAD DD28 jsr [A5 - 0x22D8]
00006996 AA29 syscall GetDeviceList
00006998 205F movea.l A0, [A7]+
0000699A 2448 movea.l A2, A0
0000699C 584F addq.w A7, 4
0000699E 6074 bra +0x76 /* 00006A14 */
label000069A0:
000069A0 554F subq.w A7, 2
000069A2 2F0A move.l -[A7], A2
000069A4 3F3C 000D move.w -[A7], 0xD /* '\r' */
000069A8 AA2C syscall TestDeviceAttribute
000069AA 101F move.b D0, [A7]+
000069AC 675C beq +0x5E /* 00006A0A */
000069AE 554F subq.w A7, 2
000069B0 2F0A move.l -[A7], A2
000069B2 3F3C 000F move.w -[A7], 0xF
000069B6 AA2C syscall TestDeviceAttribute
000069B8 101F move.b D0, [A7]+
000069BA 674E beq +0x50 /* 00006A0A */
000069BC 2052 movea.l A0, [A2]
000069BE 2F68 0022 0010 move.l [A7 + 0x10], [A0 + 0x22]
000069C4 2F68 0026 0014 move.l [A7 + 0x14], [A0 + 0x26]
000069CA 554F subq.w A7, 2
000069CC 486F 000A pea.l [A7 + 0xA]
000069D0 486F 0016 pea.l [A7 + 0x16]
000069D4 486F 001A pea.l [A7 + 0x1A]
000069D8 A8AA syscall SectRect
000069DA 101F move.b D0, [A7]+
000069DC 672C beq +0x2E /* 00006A0A */
000069DE 302F 0012 move.w D0, [A7 + 0x12]
000069E2 48C0 ext.l D0
000069E4 322F 0016 move.w D1, [A7 + 0x16]
000069E8 48C1 ext.l D1
000069EA 9280 sub.l D1, D0
000069EC 302F 0010 move.w D0, [A7 + 0x10]
000069F0 48C0 ext.l D0
000069F2 342F 0014 move.w D2, [A7 + 0x14]
000069F6 48C2 ext.l D2
000069F8 9480 sub.l D2, D0
000069FA 2002 move.l D0, D2
000069FC 4EAD D8F8 jsr [A5 - 0x2708]
00006A00 2600 move.l D3, D0
00006A02 B684 cmp.l D3, D4
00006A04 6F04 ble +0x6 /* 00006A0A */
00006A06 2803 move.l D4, D3
00006A08 264A movea.l A3, A2
label00006A0A:
00006A0A 594F subq.w A7, 4
00006A0C 2F0A move.l -[A7], A2
00006A0E AA2B syscall GetNextDevice
00006A10 205F movea.l A0, [A7]+
00006A12 2448 movea.l A2, A0
label00006A14:
00006A14 200A move.l D0, A2
00006A16 6688 bne -0x76 /* 000069A0 */
00006A18 200B move.l D0, A3
00006A1A 674E beq +0x50 /* 00006A6A */
00006A1C 2053 movea.l A0, [A3]
00006A1E 2EA8 0022 move.l [A7], [A0 + 0x22]
00006A22 2F68 0026 0004 move.l [A7 + 0x4], [A0 + 0x26]
00006A28 594F subq.w A7, 4
00006A2A AA2A syscall GetMainDevice
00006A2C 205F movea.l A0, [A7]+
00006A2E B7C8 cmpa.l A3, A0
00006A30 57C0 seq D0
00006A32 4400 neg.b D0
00006A34 4880 ext.w D0
00006A36 48C0 ext.l D0
00006A38 3F00 move.w -[A7], D0
00006A3A 486F 0002 pea.l [A7 + 0x2]
00006A3E 486F 000E pea.l [A7 + 0xE]
00006A42 4EAD DD18 jsr [A5 - 0x22E8]
00006A46 3F3C 0001 move.w -[A7], 0x1
00006A4A 2F0C move.l -[A7], A4
00006A4C 486F 0018 pea.l [A7 + 0x18]
00006A50 4EAD DD20 jsr [A5 - 0x22E0]
00006A54 206C 0082 movea.l A0, [A4 + 0x82]
00006A58 2050 movea.l A0, [A0]
00006A5A 216F 001C 0008 move.l [A0 + 0x8], [A7 + 0x1C]
00006A60 216F 0020 000C move.l [A0 + 0xC], [A7 + 0x20]
00006A66 4FEF 0014 lea.l A7, [A7 + 0x14]
label00006A6A:
00006A6A 4FEF 0018 lea.l A7, [A7 + 0x18]
00006A6E 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00006A72 4E75 rts
fn00006A74:
00006A74 48E7 1020 movem.l -[A7], D3,A2
00006A78 246F 000C movea.l A2, [A7 + 0xC]
00006A7C 2F0A move.l -[A7], A2
00006A7E 4EAD DCC0 jsr [A5 - 0x2340]
00006A82 4A80 tst.l D0
00006A84 584F addq.w A7, 4
00006A86 660E bne +0x10 /* 00006A96 */
00006A88 554F subq.w A7, 2
00006A8A 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00006A8E 301F move.w D0, [A7]+
00006A90 4CDF 0408 movem.l D3,A2, [A7]+
00006A94 4E75 rts
label00006A96:
00006A96 4AAD B2D8 tst.l [A5 - 0x4D28]
00006A9A 6644 bne +0x46 /* 00006AE0 */
00006A9C 302A 0168 move.w D0, [A2 + 0x168]
00006AA0 48C0 ext.l D0
00006AA2 4A80 tst.l D0
00006AA4 6D1E blt +0x20 /* 00006AC4 */
00006AA6 42A7 clr.l -[A7]
00006AA8 486A 0138 pea.l [A2 + 0x138]
00006AAC 3F2A 0168 move.w -[A7], [A2 + 0x168]
00006AB0 4EAD E1C0 jsr [A5 - 0x1E40]
00006AB4 3600 move.w D3, D0
00006AB6 4FEF 000A lea.l A7, [A7 + 0xA]
00006ABA 6724 beq +0x26 /* 00006AE0 */
00006ABC 3003 move.w D0, D3
00006ABE 4CDF 0408 movem.l D3,A2, [A7]+
00006AC2 4E75 rts
label00006AC4:
00006AC4 7000 moveq.l D0, 0x00
00006AC6 A122 syscall NewHandle, flags=1
00006AC8 2548 0138 move.l [A2 + 0x138], A0
00006ACC 554F subq.w A7, 2
00006ACE 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00006AD2 301F move.w D0, [A7]+
00006AD4 3600 move.w D3, D0
00006AD6 6708 beq +0xA /* 00006AE0 */
00006AD8 3003 move.w D0, D3
00006ADA 4CDF 0408 movem.l D3,A2, [A7]+
00006ADE 4E75 rts
label00006AE0:
00006AE0 486A 00E6 pea.l [A2 + 0xE6]
00006AE4 486A 00E2 pea.l [A2 + 0xE2]
00006AE8 3F2A 0166 move.w -[A7], [A2 + 0x166]
00006AEC 4EAD E190 jsr [A5 - 0x1E70]
00006AF0 2F0A move.l -[A7], A2
00006AF2 4EBA 09D0 jsr [PC + 0x9D0 /* 000074C4 */]
00006AF6 3600 move.w D3, D0
00006AF8 7000 moveq.l D0, 0x00
00006AFA 4FEF 000E lea.l A7, [A7 + 0xE]
00006AFE 4CDF 0408 movem.l D3,A2, [A7]+
00006B02 4E75 rts
fn00006B04:
00006B04 48E7 0030 movem.l -[A7], A2,A3
00006B08 4FEF FFF0 lea.l A7, [A7 - 0x10]
00006B0C 266F 001C movea.l A3, [A7 + 0x1C]
00006B10 246F 0020 movea.l A2, [A7 + 0x20]
00006B14 2F0B move.l -[A7], A3
00006B16 4EAD DD40 jsr [A5 - 0x22C0]
00006B1A 4252 clr.w [A2]
00006B1C 426A 0002 clr.w [A2 + 0x2]
00006B20 357C 7FFF 0004 move.w [A2 + 0x4], 0x7FFF
00006B26 357C 7FFF 0006 move.w [A2 + 0x6], 0x7FFF
00006B2C 4227 clr.b -[A7]
00006B2E 486F 0006 pea.l [A7 + 0x6]
00006B32 486F 000E pea.l [A7 + 0xE]
00006B36 2F0B move.l -[A7], A3
00006B38 4EBA EBF8 jsr [PC - 0x1408 /* 00005732 */]
00006B3C 4FEF 0012 lea.l A7, [A7 + 0x12]
00006B40 6064 bra +0x66 /* 00006BA6 */
label00006B42:
00006B42 426F 0008 clr.w [A7 + 0x8]
00006B46 426F 000A clr.w [A7 + 0xA]
00006B4A 3F7C 7FFF 000C move.w [A7 + 0xC], 0x7FFF
00006B50 3F7C 7FFF 000E move.w [A7 + 0xE], 0x7FFF
00006B56 486F 0008 pea.l [A7 + 0x8]
00006B5A 2F2F 0008 move.l -[A7], [A7 + 0x8]
00006B5E 206F 000C movea.l A0, [A7 + 0xC]
00006B62 2068 0034 movea.l A0, [A0 + 0x34]
00006B66 4E90 jsr [A0]
00006B68 302F 0012 move.w D0, [A7 + 0x12]
00006B6C B06A 0002 cmp.w D0, [A2 + 0x2]
00006B70 504F addq.w A7, 8
00006B72 6F06 ble +0x8 /* 00006B7A */
00006B74 356F 000A 0002 move.w [A2 + 0x2], [A7 + 0xA]
label00006B7A:
00006B7A 302F 0008 move.w D0, [A7 + 0x8]
00006B7E B052 cmp.w D0, [A2]
00006B80 6F04 ble +0x6 /* 00006B86 */
00006B82 34AF 0008 move.w [A2], [A7 + 0x8]
label00006B86:
00006B86 302F 000E move.w D0, [A7 + 0xE]
00006B8A B06A 0006 cmp.w D0, [A2 + 0x6]
00006B8E 6C06 bge +0x8 /* 00006B96 */
00006B90 356F 000E 0006 move.w [A2 + 0x6], [A7 + 0xE]
label00006B96:
00006B96 302F 000C move.w D0, [A7 + 0xC]
00006B9A B06A 0004 cmp.w D0, [A2 + 0x4]
00006B9E 6C06 bge +0x8 /* 00006BA6 */
00006BA0 356F 000C 0004 move.w [A2 + 0x4], [A7 + 0xC]
label00006BA6:
00006BA6 1F3C 0001 move.b -[A7], 0x1
00006BAA 486F 0002 pea.l [A7 + 0x2]
00006BAE 486F 000A pea.l [A7 + 0xA]
00006BB2 2F0B move.l -[A7], A3
00006BB4 4EBA EB7C jsr [PC - 0x1484 /* 00005732 */]
00006BB8 4A80 tst.l D0
00006BBA 4FEF 000E lea.l A7, [A7 + 0xE]
00006BBE 6682 bne -0x7C /* 00006B42 */
00006BC0 1F3C 0002 move.b -[A7], 0x2
00006BC4 486F 0002 pea.l [A7 + 0x2]
00006BC8 486F 000A pea.l [A7 + 0xA]
00006BCC 2F0B move.l -[A7], A3
00006BCE 4EBA EB62 jsr [PC - 0x149E /* 00005732 */]
00006BD2 4EAD DD48 jsr [A5 - 0x22B8]
00006BD6 4FEF 001E lea.l A7, [A7 + 0x1E]
00006BDA 4CDF 0C00 movem.l A2,A3, [A7]+
00006BDE 4E75 rts
fn00006BE0:
00006BE0 48E7 1030 movem.l -[A7], D3,A2,A3
00006BE4 514F subq.w A7, 8
00006BE6 266F 0018 movea.l A3, [A7 + 0x18]
00006BEA 246F 0020 movea.l A2, [A7 + 0x20]
00006BEE 206F 001C movea.l A0, [A7 + 0x1C]
00006BF2 2E90 move.l [A7], [A0]
00006BF4 2F68 0004 0004 move.l [A7 + 0x4], [A0 + 0x4]
00006BFA 362F 0002 move.w D3, [A7 + 0x2]
00006BFE 48C3 ext.l D3
00006C00 302A 0002 move.w D0, [A2 + 0x2]
00006C04 48C0 ext.l D0
00006C06 322F 0006 move.w D1, [A7 + 0x6]
00006C0A 48C1 ext.l D1
00006C0C 9283 sub.l D1, D3
00006C0E B280 cmp.l D1, D0
00006C10 6C0C bge +0xE /* 00006C1E */
00006C12 302A 0002 move.w D0, [A2 + 0x2]
00006C16 48C0 ext.l D0
00006C18 D083 add.l D0, D3
00006C1A 3F40 0006 move.w [A7 + 0x6], D0
label00006C1E:
00006C1E 3012 move.w D0, [A2]
00006C20 48C0 ext.l D0
00006C22 3217 move.w D1, [A7]
00006C24 48C1 ext.l D1
00006C26 342F 0004 move.w D2, [A7 + 0x4]
00006C2A 48C2 ext.l D2
00006C2C 9481 sub.l D2, D1
00006C2E B480 cmp.l D2, D0
00006C30 6C0E bge +0x10 /* 00006C40 */
00006C32 3012 move.w D0, [A2]
00006C34 48C0 ext.l D0
00006C36 3217 move.w D1, [A7]
00006C38 48C1 ext.l D1
00006C3A D280 add.l D1, D0
00006C3C 3F41 0004 move.w [A7 + 0x4], D1
label00006C40:
00006C40 4AAB 015C tst.l [A3 + 0x15C]
00006C44 6740 beq +0x42 /* 00006C86 */
00006C46 3F3C 0001 move.w -[A7], 0x1
00006C4A 302F 0002 move.w D0, [A7 + 0x2]
00006C4E 48C0 ext.l D0
00006C50 322F 0006 move.w D1, [A7 + 0x6]
00006C54 48C1 ext.l D1
00006C56 9280 sub.l D1, D0
00006C58 3F01 move.w -[A7], D1
00006C5A 302F 0006 move.w D0, [A7 + 0x6]
00006C5E 48C0 ext.l D0
00006C60 322F 000A move.w D1, [A7 + 0xA]
00006C64 48C1 ext.l D1
00006C66 9280 sub.l D1, D0
00006C68 3F01 move.w -[A7], D1
00006C6A 2F2F 0006 move.l -[A7], [A7 + 0x6]
00006C6E 2F0B move.l -[A7], A3
00006C70 4EAD DD30 jsr [A5 - 0x22D0]
00006C74 4A40 tst.w D0
00006C76 4FEF 000E lea.l A7, [A7 + 0xE]
00006C7A 660A bne +0xC /* 00006C86 */
00006C7C 7000 moveq.l D0, 0x00
00006C7E 504F addq.w A7, 8
00006C80 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00006C84 4E75 rts
label00006C86:
00006C86 2F0B move.l -[A7], A3
00006C88 3F2F 0006 move.w -[A7], [A7 + 0x6]
00006C8C 3F2F 0006 move.w -[A7], [A7 + 0x6]
00006C90 4227 clr.b -[A7]
00006C92 A91B syscall MoveWindow
00006C94 2F0B move.l -[A7], A3
00006C96 302F 0006 move.w D0, [A7 + 0x6]
00006C9A 48C0 ext.l D0
00006C9C 322F 000A move.w D1, [A7 + 0xA]
00006CA0 48C1 ext.l D1
00006CA2 9280 sub.l D1, D0
00006CA4 3F01 move.w -[A7], D1
00006CA6 302F 0006 move.w D0, [A7 + 0x6]
00006CAA 48C0 ext.l D0
00006CAC 322F 000A move.w D1, [A7 + 0xA]
00006CB0 48C1 ext.l D1
00006CB2 9280 sub.l D1, D0
00006CB4 3F01 move.w -[A7], D1
00006CB6 1F3C 0001 move.b -[A7], 0x1
00006CBA A91D syscall SizeWindow
00006CBC 7001 moveq.l D0, 0x01
00006CBE 504F addq.w A7, 8
00006CC0 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00006CC4 4E75 rts
fn00006CC6:
00006CC6 48E7 1030 movem.l -[A7], D3,A2,A3
00006CCA 4FEF FFF0 lea.l A7, [A7 - 0x10]
00006CCE 246F 0020 movea.l A2, [A7 + 0x20]
00006CD2 264A movea.l A3, A2
00006CD4 4857 pea.l [A7]
00006CD6 2F0A move.l -[A7], A2
00006CD8 4EBA FE2A jsr [PC - 0x1D6 /* 00006B04 */]
00006CDC 0C2A 0001 016A cmpi.b [A2 + 0x16A], 0x1
00006CE2 504F addq.w A7, 8
00006CE4 6700 00B2 beq +0xB4 /* 00006D98 */
00006CE8 0C2A 0003 016A cmpi.b [A2 + 0x16A], 0x3
00006CEE 6700 00A8 beq +0xAA /* 00006D98 */
00006CF2 0C2A 0004 016A cmpi.b [A2 + 0x16A], 0x4
00006CF8 6700 009E beq +0xA0 /* 00006D98 */
00006CFC 0C2A 0006 016A cmpi.b [A2 + 0x16A], 0x6
00006D02 6700 0094 beq +0x96 /* 00006D98 */
00006D06 1F3C 000A move.b -[A7], 0xA /* '\n' */
00006D0A 3F2A 0166 move.w -[A7], [A2 + 0x166]
00006D0E 4EBA C6B0 jsr [PC - 0x3950 /* 000033C0 */]
00006D12 2608 move.l D3, A0
00006D14 4AAD B2D8 tst.l [A5 - 0x4D28]
00006D18 584F addq.w A7, 4
00006D1A 6710 beq +0x12 /* 00006D2C */
00006D1C 0C83 414C 5468 cmpi.l D3, 0x414C5468 /* 'ALTh' */
00006D22 6708 beq +0xA /* 00006D2C */
00006D24 0C83 414C 5476 cmpi.l D3, 0x414C5476 /* 'ALTv' */
00006D2A 6606 bne +0x8 /* 00006D32 */
label00006D2C:
00006D2C 362A 0168 move.w D3, [A2 + 0x168]
00006D30 6006 bra +0x8 /* 00006D38 */
label00006D32:
00006D32 4EAD FF40 jsr [A5 - 0xC0]
00006D36 3600 move.w D3, D0
label00006D38:
00006D38 2F0B move.l -[A7], A3
00006D3A 4EBA FC32 jsr [PC - 0x3CE /* 0000696E */]
00006D3E 3003 move.w D0, D3
00006D40 48C0 ext.l D0
00006D42 4A80 tst.l D0
00006D44 584F addq.w A7, 4
00006D46 6D30 blt +0x32 /* 00006D78 */
00006D48 486F 0008 pea.l [A7 + 0x8]
00006D4C 2F2A 0148 move.l -[A7], [A2 + 0x148]
00006D50 3F03 move.w -[A7], D3
00006D52 3F2A 0166 move.w -[A7], [A2 + 0x166]
00006D56 2F0B move.l -[A7], A3
00006D58 4EAD E2D8 jsr [A5 - 0x1D28]
00006D5C 4A80 tst.l D0
00006D5E 4FEF 0010 lea.l A7, [A7 + 0x10]
00006D62 6714 beq +0x16 /* 00006D78 */
00006D64 4857 pea.l [A7]
00006D66 486F 000C pea.l [A7 + 0xC]
00006D6A 2F0A move.l -[A7], A2
00006D6C 4EBA FE72 jsr [PC - 0x18E /* 00006BE0 */]
00006D70 4A80 tst.l D0
00006D72 4FEF 000C lea.l A7, [A7 + 0xC]
00006D76 6620 bne +0x22 /* 00006D98 */
label00006D78:
00006D78 2F0B move.l -[A7], A3
00006D7A 2F3C 000A 000A move.l -[A7], 0xA000A /* '\n\0\n' */
00006D80 4227 clr.b -[A7]
00006D82 A91D syscall SizeWindow
00006D84 2F0B move.l -[A7], A3
00006D86 3F3C 0008 move.w -[A7], 0x8
00006D8A 4227 clr.b -[A7]
00006D8C A83A syscall ZoomWindow
00006D8E 42A7 clr.l -[A7]
00006D90 2F0B move.l -[A7], A3
00006D92 4EBA DA5A jsr [PC - 0x25A6 /* 000047EE */]
00006D96 504F addq.w A7, 8
label00006D98:
00006D98 4227 clr.b -[A7]
00006D9A 2F0A move.l -[A7], A2
00006D9C 4EBA 002E jsr [PC + 0x2E /* 00006DCC */]
00006DA0 4AAB 0082 tst.l [A3 + 0x82]
00006DA4 5C4F addq.w A7, 6
00006DA6 671A beq +0x1C /* 00006DC2 */
00006DA8 206B 0082 movea.l A0, [A3 + 0x82]
00006DAC 2450 movea.l A2, [A0]
00006DAE 24AB 0010 move.l [A2], [A3 + 0x10]
00006DB2 256B 0014 0004 move.l [A2 + 0x4], [A3 + 0x14]
00006DB8 2F0A move.l -[A7], A2
00006DBA A870 syscall LocalToGlobal
00006DBC 486A 0004 pea.l [A2 + 0x4]
00006DC0 A870 syscall LocalToGlobal
label00006DC2:
00006DC2 4FEF 0010 lea.l A7, [A7 + 0x10]
00006DC6 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00006DCA 4E75 rts
fn00006DCC:
00006DCC 48E7 1020 movem.l -[A7], D3,A2
00006DD0 514F subq.w A7, 8
00006DD2 246F 0014 movea.l A2, [A7 + 0x14]
00006DD6 162F 0018 move.b D3, [A7 + 0x18]
00006DDA 4227 clr.b -[A7]
00006DDC 486F 0002 pea.l [A7 + 0x2]
00006DE0 486F 000A pea.l [A7 + 0xA]
00006DE4 2F0A move.l -[A7], A2
00006DE6 4EBA E94A jsr [PC - 0x16B6 /* 00005732 */]
00006DEA 4FEF 000E lea.l A7, [A7 + 0xE]
00006DEE 6012 bra +0x14 /* 00006E02 */
label00006DF0:
00006DF0 1F03 move.b -[A7], D3
00006DF2 2F2F 0006 move.l -[A7], [A7 + 0x6]
00006DF6 206F 000A movea.l A0, [A7 + 0xA]
00006DFA 2068 0028 movea.l A0, [A0 + 0x28]
00006DFE 4E90 jsr [A0]
00006E00 5C4F addq.w A7, 6
label00006E02:
00006E02 1F3C 0001 move.b -[A7], 0x1
00006E06 486F 0002 pea.l [A7 + 0x2]
00006E0A 486F 000A pea.l [A7 + 0xA]
00006E0E 2F0A move.l -[A7], A2
00006E10 4EBA E920 jsr [PC - 0x16E0 /* 00005732 */]
00006E14 4A80 tst.l D0
00006E16 4FEF 000E lea.l A7, [A7 + 0xE]
00006E1A 66D4 bne -0x2A /* 00006DF0 */
00006E1C 1F3C 0002 move.b -[A7], 0x2
00006E20 486F 0002 pea.l [A7 + 0x2]
00006E24 486F 000A pea.l [A7 + 0xA]
00006E28 2F0A move.l -[A7], A2
00006E2A 4EBA E906 jsr [PC - 0x16FA /* 00005732 */]
00006E2E 4FEF 0016 lea.l A7, [A7 + 0x16]
00006E32 4CDF 0408 movem.l D3,A2, [A7]+
00006E36 4E75 rts
fn00006E38:
00006E38 7000 moveq.l D0, 0x00
00006E3A 102F 0006 move.b D0, [A7 + 0x6]
00006E3E 670E beq +0x10 /* 00006E4E */
00006E40 5580 subq.l D0, 2
00006E42 6718 beq +0x1A /* 00006E5C */
00006E44 5780 subq.l D0, 3
00006E46 6706 beq +0x8 /* 00006E4E */
00006E48 4E71 nop
00006E4A 70FF moveq.l D0, 0xFFFFFFFF
00006E4C 4E75 rts
label00006E4E:
00006E4E 42A7 clr.l -[A7]
00006E50 3F2F 0008 move.w -[A7], [A7 + 0x8]
00006E54 4EAD E2F0 jsr [A5 - 0x1D10]
00006E58 5C4F addq.w A7, 6
00006E5A 4E75 rts
label00006E5C:
00006E5C 4EAD E9A8 jsr [A5 - 0x1658]
00006E60 4E75 rts
fn00006E62:
00006E62 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00006E66 266F 0014 movea.l A3, [A7 + 0x14]
00006E6A 382F 0018 move.w D4, [A7 + 0x18]
00006E6E 162F 001A move.b D3, [A7 + 0x1A]
00006E72 594F subq.w A7, 4
00006E74 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00006E78 4E90 jsr [A0]
00006E7A 205F movea.l A0, [A7]+
00006E7C 2448 movea.l A2, A0
00006E7E 6028 bra +0x2A /* 00006EA8 */
label00006E80:
00006E80 B5CB cmpa.l A2, A3
00006E82 6720 beq +0x22 /* 00006EA4 */
00006E84 302A 006C move.w D0, [A2 + 0x6C]
00006E88 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00006E8C 6616 bne +0x18 /* 00006EA4 */
00006E8E 1F03 move.b -[A7], D3
00006E90 2F0A move.l -[A7], A2
00006E92 4EBA E5F6 jsr [PC - 0x1A0A /* 0000548A */]
00006E96 B850 cmp.w D4, [A0]
00006E98 5C4F addq.w A7, 6
00006E9A 6608 bne +0xA /* 00006EA4 */
00006E9C 7001 moveq.l D0, 0x01
00006E9E 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00006EA2 4E75 rts
label00006EA4:
00006EA4 246A 0090 movea.l A2, [A2 + 0x90]
label00006EA8:
00006EA8 200A move.l D0, A2
00006EAA 66D4 bne -0x2A /* 00006E80 */
00006EAC 7000 moveq.l D0, 0x00
00006EAE 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00006EB2 4E75 rts
fn00006EB4:
00006EB4 48E7 0030 movem.l -[A7], A2,A3
00006EB8 594F subq.w A7, 4
00006EBA 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00006EBE 4E90 jsr [A0]
00006EC0 205F movea.l A0, [A7]+
00006EC2 2448 movea.l A2, A0
00006EC4 200A move.l D0, A2
00006EC6 6712 beq +0x14 /* 00006EDA */
00006EC8 302A 006C move.w D0, [A2 + 0x6C]
00006ECC B06D B416 cmp.w D0, [A5 - 0x4BEA]
00006ED0 6708 beq +0xA /* 00006EDA */
00006ED2 0C6A 0008 006C cmpi.w [A2 + 0x6C], 0x8
00006ED8 660C bne +0xE /* 00006EE6 */
label00006EDA:
00006EDA 207C FFFF FFFF movea.l A0, 0xFFFFFFFF
00006EE0 4CDF 0C00 movem.l A2,A3, [A7]+
00006EE4 4E75 rts
label00006EE6:
00006EE6 264A movea.l A3, A2
00006EE8 246A 0090 movea.l A2, [A2 + 0x90]
00006EEC 200A move.l D0, A2
00006EEE 6712 beq +0x14 /* 00006F02 */
00006EF0 302A 006C move.w D0, [A2 + 0x6C]
00006EF4 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00006EF8 6708 beq +0xA /* 00006F02 */
00006EFA 0C6A 0008 006C cmpi.w [A2 + 0x6C], 0x8
00006F00 66E4 bne -0x1A /* 00006EE6 */
label00006F02:
00006F02 204B movea.l A0, A3
00006F04 4CDF 0C00 movem.l A2,A3, [A7]+
00006F08 4E75 rts
fn00006F0A:
00006F0A 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00006F0E 3A2F 0014 move.w D5, [A7 + 0x14]
00006F12 282F 0016 move.l D4, [A7 + 0x16]
00006F16 7600 moveq.l D3, 0x00
00006F18 601C bra +0x1E /* 00006F36 */
label00006F1A:
00006F1A BA6A 0166 cmp.w D5, [A2 + 0x166]
00006F1E 6616 bne +0x18 /* 00006F36 */
00006F20 4A84 tst.l D4
00006F22 670A beq +0xC /* 00006F2E */
00006F24 2F0A move.l -[A7], A2
00006F26 206D 133E movea.l A0, [A5 + 0x133E]
00006F2A 4E90 jsr [A0]
00006F2C 6008 bra +0xA /* 00006F36 */
label00006F2E:
00006F2E 2F0A move.l -[A7], A2
00006F30 206D 134A movea.l A0, [A5 + 0x134A /* export_613 */]
00006F34 4E90 jsr [A0]
label00006F36:
00006F36 2003 move.l D0, D3
00006F38 5283 addq.l D3, 1
00006F3A 2F00 move.l -[A7], D0
00006F3C 4EAD DC78 jsr [A5 - 0x2388]
00006F40 2448 movea.l A2, A0
00006F42 2008 move.l D0, A0
00006F44 584F addq.w A7, 4
00006F46 66D2 bne -0x2C /* 00006F1A */
00006F48 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00006F4C 4E75 rts
fn00006F4E:
00006F4E 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00006F52 594F subq.w A7, 4
00006F54 266F 0028 movea.l A3, [A7 + 0x28]
00006F58 1C2F 002C move.b D6, [A7 + 0x2C]
00006F5C 3E2F 0030 move.w D7, [A7 + 0x30]
00006F60 0C2B 0004 016A cmpi.b [A3 + 0x16A], 0x4
00006F66 661A bne +0x1C /* 00006F82 */
00006F68 594F subq.w A7, 4
00006F6A 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00006F6E 4E90 jsr [A0]
00006F70 205F movea.l A0, [A7]+
00006F72 2648 movea.l A3, A0
00006F74 200B move.l D0, A3
00006F76 660A bne +0xC /* 00006F82 */
00006F78 7000 moveq.l D0, 0x00
00006F7A 584F addq.w A7, 4
00006F7C 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00006F80 4E75 rts
label00006F82:
00006F82 0C2B 0003 016A cmpi.b [A3 + 0x16A], 0x3
00006F88 6710 beq +0x12 /* 00006F9A */
00006F8A 0C2B 0004 016A cmpi.b [A3 + 0x16A], 0x4
00006F90 6708 beq +0xA /* 00006F9A */
00006F92 0C2B 0006 016A cmpi.b [A3 + 0x16A], 0x6
00006F98 660A bne +0xC /* 00006FA4 */
label00006F9A:
00006F9A 7000 moveq.l D0, 0x00
00006F9C 584F addq.w A7, 4
00006F9E 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00006FA2 4E75 rts
label00006FA4:
00006FA4 1F3C 0007 move.b -[A7], 0x7
00006FA8 3F2B 0166 move.w -[A7], [A3 + 0x166]
00006FAC 4EBA C412 jsr [PC - 0x3BEE /* 000033C0 */]
00006FB0 2810 move.l D4, [A0]
00006FB2 4A84 tst.l D4
00006FB4 584F addq.w A7, 4
00006FB6 6700 009A beq +0x9C /* 00007052 */
00006FBA 1F3C 0006 move.b -[A7], 0x6
00006FBE 3F2B 0166 move.w -[A7], [A3 + 0x166]
00006FC2 4EBA C3FC jsr [PC - 0x3C04 /* 000033C0 */]
00006FC6 2848 movea.l A4, A0
00006FC8 2F3C 4B43 4852 move.l -[A7], 0x4B434852 /* 'KCHR' */
00006FCE 4267 clr.w -[A7]
00006FD0 A9A0 syscall GetResource
00006FD2 205F movea.l A0, [A7]+
00006FD4 2448 movea.l A2, A0
00006FD6 2008 move.l D0, A0
00006FD8 6718 beq +0x1A /* 00006FF2 */
00006FDA 4297 clr.l [A7]
00006FDC 594F subq.w A7, 4
00006FDE 2F12 move.l -[A7], [A2]
00006FE0 7000 moveq.l D0, 0x00
00006FE2 1006 move.b D0, D6
00006FE4 3F00 move.w -[A7], D0
00006FE6 486F 000A pea.l [A7 + 0xA]
00006FEA A9C3 syscall KeyTranslate/KeyTrans
00006FEC 201F move.l D0, [A7]+
00006FEE 1A00 move.b D5, D0
00006FF0 6004 bra +0x6 /* 00006FF6 */
label00006FF2:
00006FF2 1A2F 002E move.b D5, [A7 + 0x2E]
label00006FF6:
00006FF6 2454 movea.l A2, [A4]
00006FF8 7600 moveq.l D3, 0x00
00006FFA 6052 bra +0x54 /* 0000704E */
label00006FFC:
00006FFC 4AAA 0004 tst.l [A2 + 0x4]
00007000 6748 beq +0x4A /* 0000704A */
00007002 206A 0004 movea.l A0, [A2 + 0x4]
00007006 4A90 tst.l [A0]
00007008 6740 beq +0x42 /* 0000704A */
0000700A 4A2A 0001 tst.b [A2 + 0x1]
0000700E 6704 beq +0x6 /* 00007014 */
00007010 BC12 cmp.b D6, [A2]
00007012 670A beq +0xC /* 0000701E */
label00007014:
00007014 4A2A 0001 tst.b [A2 + 0x1]
00007018 6630 bne +0x32 /* 0000704A */
0000701A BA12 cmp.b D5, [A2]
0000701C 662C bne +0x2E /* 0000704A */
label0000701E:
0000701E 302A 0002 move.w D0, [A2 + 0x2]
00007022 48C0 ext.l D0
00007024 3207 move.w D1, D7
00007026 0281 0000 0B00 andi.l D1, 0xB00
0000702C B280 cmp.l D1, D0
0000702E 661A bne +0x1C /* 0000704A */
00007030 42A7 clr.l -[A7]
00007032 4227 clr.b -[A7]
00007034 2F2A 0004 move.l -[A7], [A2 + 0x4]
00007038 2F0B move.l -[A7], A3
0000703A 4EAD E970 jsr [A5 - 0x1690]
0000703E 7001 moveq.l D0, 0x01
00007040 4FEF 0012 lea.l A7, [A7 + 0x12]
00007044 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00007048 4E75 rts
label0000704A:
0000704A 5283 addq.l D3, 1
0000704C 508A addq.l A2, 8
label0000704E:
0000704E B684 cmp.l D3, D4
00007050 6DAA blt -0x54 /* 00006FFC */
label00007052:
00007052 7000 moveq.l D0, 0x00
00007054 584F addq.w A7, 4
00007056 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
0000705A 4E75 rts
fn0000705C:
0000705C 48E7 0038 movem.l -[A7], A2,A3,A4
00007060 514F subq.w A7, 8
00007062 286F 0018 movea.l A4, [A7 + 0x18]
00007066 95CA sub.l A2, A2
00007068 97CB sub.l A3, A3
0000706A 594F subq.w A7, 4
0000706C A8D8 syscall NewRgn
0000706E 205F movea.l A0, [A7]+
00007070 2448 movea.l A2, A0
00007072 200A move.l D0, A2
00007074 6772 beq +0x74 /* 000070E8 */
00007076 594F subq.w A7, 4
00007078 A8D8 syscall NewRgn
0000707A 205F movea.l A0, [A7]+
0000707C 2648 movea.l A3, A0
0000707E 200B move.l D0, A3
00007080 6766 beq +0x68 /* 000070E8 */
00007082 2F0A move.l -[A7], A2
00007084 486C 0010 pea.l [A4 + 0x10]
00007088 A8DF syscall RectRgn
0000708A 4227 clr.b -[A7]
0000708C 486F 0002 pea.l [A7 + 0x2]
00007090 486F 000A pea.l [A7 + 0xA]
00007094 2F0C move.l -[A7], A4
00007096 4EBA E69A jsr [PC - 0x1966 /* 00005732 */]
0000709A 4FEF 000E lea.l A7, [A7 + 0xE]
0000709E 6014 bra +0x16 /* 000070B4 */
label000070A0:
000070A0 2F0B move.l -[A7], A3
000070A2 206F 0008 movea.l A0, [A7 + 0x8]
000070A6 4868 0040 pea.l [A0 + 0x40]
000070AA A8DF syscall RectRgn
000070AC 2F0A move.l -[A7], A2
000070AE 2F0B move.l -[A7], A3
000070B0 2F0A move.l -[A7], A2
000070B2 A8E6 syscall DiffRgn
label000070B4:
000070B4 1F3C 0001 move.b -[A7], 0x1
000070B8 486F 0002 pea.l [A7 + 0x2]
000070BC 486F 000A pea.l [A7 + 0xA]
000070C0 2F0C move.l -[A7], A4
000070C2 4EBA E66E jsr [PC - 0x1992 /* 00005732 */]
000070C6 4A80 tst.l D0
000070C8 4FEF 000E lea.l A7, [A7 + 0xE]
000070CC 66D2 bne -0x2C /* 000070A0 */
000070CE 1F3C 0002 move.b -[A7], 0x2
000070D2 486F 0002 pea.l [A7 + 0x2]
000070D6 486F 000A pea.l [A7 + 0xA]
000070DA 2F0C move.l -[A7], A4
000070DC 4EBA E654 jsr [PC - 0x19AC /* 00005732 */]
000070E0 2F0B move.l -[A7], A3
000070E2 A8D9 syscall DisposRgn/DisposeRgn
000070E4 4FEF 000E lea.l A7, [A7 + 0xE]
label000070E8:
000070E8 204A movea.l A0, A2
000070EA 504F addq.w A7, 8
000070EC 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000070F0 4E75 rts
fn000070F2:
000070F2 48E7 1020 movem.l -[A7], D3,A2
000070F6 95CA sub.l A2, A2
000070F8 7601 moveq.l D3, 0x01
000070FA 2F2F 000C move.l -[A7], [A7 + 0xC]
000070FE 4EBA FF5C jsr [PC - 0xA4 /* 0000705C */]
00007102 2448 movea.l A2, A0
00007104 200A move.l D0, A2
00007106 584F addq.w A7, 4
00007108 671A beq +0x1C /* 00007124 */
0000710A 554F subq.w A7, 2
0000710C 2F0A move.l -[A7], A2
0000710E A8E2 syscall EmptyRgn
00007110 101F move.b D0, [A7]+
00007112 57C0 seq D0
00007114 4400 neg.b D0
00007116 4880 ext.w D0
00007118 48C0 ext.l D0
0000711A 2600 move.l D3, D0
0000711C 2F0A move.l -[A7], A2
0000711E A879 syscall SetClip
00007120 2F0A move.l -[A7], A2
00007122 A8D9 syscall DisposRgn/DisposeRgn
label00007124:
00007124 2003 move.l D0, D3
00007126 4CDF 0408 movem.l D3,A2, [A7]+
0000712A 4E75 rts
fn0000712C:
0000712C 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00007130 514F subq.w A7, 8
00007132 2C2F 0028 move.l D6, [A7 + 0x28]
00007136 266F 002C movea.l A3, [A7 + 0x2C]
0000713A 42AF 0004 clr.l [A7 + 0x4]
0000713E 95CA sub.l A2, A2
00007140 76FF moveq.l D3, 0xFFFFFFFF
00007142 3A2F 0030 move.w D5, [A7 + 0x30]
00007146 554F subq.w A7, 2
00007148 2F0B move.l -[A7], A3
0000714A 486F 000A pea.l [A7 + 0xA]
0000714E 204B movea.l A0, A3
00007150 70FF moveq.l D0, 0xFFFFFFFF
label00007152:
00007152 5280 addq.l D0, 1
00007154 4A18 tst.b [A0]+
00007156 66FA bne -0x4 /* 00007152 */
00007158 2F00 move.l -[A7], D0
0000715A 4EAD DA36 jsr [A5 - 0x25CA]
0000715E 301F move.w D0, [A7]+
00007160 670A beq +0xC /* 0000716C */
00007162 70FF moveq.l D0, 0xFFFFFFFF
00007164 504F addq.w A7, 8
00007166 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
0000716A 4E75 rts
label0000716C:
0000716C 4AAF 003A tst.l [A7 + 0x3A]
00007170 6742 beq +0x44 /* 000071B4 */
00007172 4297 clr.l [A7]
00007174 4857 pea.l [A7]
00007176 2F2F 0008 move.l -[A7], [A7 + 0x8]
0000717A 2F06 move.l -[A7], D6
0000717C 3F2F 003C move.w -[A7], [A7 + 0x3C]
00007180 4EAD E468 jsr [A5 - 0x1B98]
00007184 2800 move.l D4, D0
00007186 4A84 tst.l D4
00007188 4FEF 000E lea.l A7, [A7 + 0xE]
0000718C 6D12 blt +0x14 /* 000071A0 */
0000718E 4A97 tst.l [A7]
00007190 660E bne +0x10 /* 000071A0 */
00007192 2F04 move.l -[A7], D4
00007194 3F2F 0034 move.w -[A7], [A7 + 0x34]
00007198 4EAD E188 jsr [A5 - 0x1E78]
0000719C 2448 movea.l A2, A0
0000719E 5C4F addq.w A7, 6
label000071A0:
000071A0 200A move.l D0, A2
000071A2 6626 bne +0x28 /* 000071CA */
000071A4 2F2F 0004 move.l -[A7], [A7 + 0x4]
000071A8 2F2F 0028 move.l -[A7], [A7 + 0x28]
000071AC 4EAD DB74 jsr [A5 - 0x248C]
000071B0 504F addq.w A7, 8
000071B2 6016 bra +0x18 /* 000071CA */
label000071B4:
000071B4 42A7 clr.l -[A7]
000071B6 486F 0034 pea.l [A7 + 0x34]
000071BA 2F2F 000C move.l -[A7], [A7 + 0xC]
000071BE 2F06 move.l -[A7], D6
000071C0 4EBA 9BC8 jsr [PC - 0x6438 /* 00000D8A */]
000071C4 2448 movea.l A2, A0
000071C6 4FEF 0010 lea.l A7, [A7 + 0x10]
label000071CA:
000071CA 200A move.l D0, A2
000071CC 6720 beq +0x22 /* 000071EE */
000071CE 2652 movea.l A3, [A2]
000071D0 2613 move.l D3, [A3]
000071D2 206F 0032 movea.l A0, [A7 + 0x32]
000071D6 20AB 0004 move.l [A0], [A3 + 0x4]
000071DA 4AAD B2D8 tst.l [A5 - 0x4D28]
000071DE 670E beq +0x10 /* 000071EE */
000071E0 BA6F 0030 cmp.w D5, [A7 + 0x30]
000071E4 6708 beq +0xA /* 000071EE */
000071E6 206F 0036 movea.l A0, [A7 + 0x36]
000071EA 30AF 0030 move.w [A0], [A7 + 0x30]
label000071EE:
000071EE 4AAF 0004 tst.l [A7 + 0x4]
000071F2 6706 beq +0x8 /* 000071FA */
000071F4 206F 0004 movea.l A0, [A7 + 0x4]
000071F8 A023 syscall DisposHandle/DisposeHandle
label000071FA:
000071FA 2003 move.l D0, D3
000071FC 504F addq.w A7, 8
000071FE 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00007202 4E75 rts
fn00007204:
00007204 48E7 1030 movem.l -[A7], D3,A2,A3
00007208 262F 0012 move.l D3, [A7 + 0x12]
0000720C 266F 0016 movea.l A3, [A7 + 0x16]
00007210 246F 001A movea.l A2, [A7 + 0x1A]
00007214 302F 0010 move.w D0, [A7 + 0x10]
00007218 48C0 ext.l D0
0000721A 670A beq +0xC /* 00007226 */
0000721C 5380 subq.l D0, 1
0000721E 6720 beq +0x22 /* 00007240 */
00007220 5380 subq.l D0, 1
00007222 6736 beq +0x38 /* 0000725A */
00007224 4E71 nop
label00007226:
00007226 7001 moveq.l D0, 0x01
00007228 2480 move.l [A2], D0
0000722A 2680 move.l [A3], D0
0000722C 4A83 tst.l D3
0000722E 6604 bne +0x6 /* 00007234 */
00007230 7008 moveq.l D0, 0x08
00007232 6006 bra +0x8 /* 0000723A */
label00007234:
00007234 302D B41E move.w D0, [A5 - 0x4BE2]
00007238 48C0 ext.l D0
label0000723A:
0000723A 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000723E 4E75 rts
label00007240:
00007240 4293 clr.l [A3]
00007242 7001 moveq.l D0, 0x01
00007244 2480 move.l [A2], D0
00007246 4A83 tst.l D3
00007248 6604 bne +0x6 /* 0000724E */
0000724A 7004 moveq.l D0, 0x04
0000724C 6006 bra +0x8 /* 00007254 */
label0000724E:
0000724E 203C 0000 0810 move.l D0, 0x810
label00007254:
00007254 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00007258 4E75 rts
label0000725A:
0000725A 4A83 tst.l D3
0000725C 6710 beq +0x12 /* 0000726E */
0000725E 4293 clr.l [A3]
00007260 7001 moveq.l D0, 0x01
00007262 2480 move.l [A2], D0
00007264 303C 0810 move.w D0, 0x810
00007268 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000726C 4E75 rts
label0000726E:
0000726E 4292 clr.l [A2]
00007270 4293 clr.l [A3]
00007272 7002 moveq.l D0, 0x02
00007274 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00007278 4E75 rts
fn0000727A:
0000727A 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
0000727E 5D4F subq.w A7, 6
00007280 1A2F 0024 move.b D5, [A7 + 0x24]
00007284 2C2F 0026 move.l D6, [A7 + 0x26]
00007288 266F 002A movea.l A3, [A7 + 0x2A]
0000728C 246F 002E movea.l A2, [A7 + 0x2E]
00007290 0C05 0006 cmpi.b D5, 0x6
00007294 660A bne +0xC /* 000072A0 */
00007296 7008 moveq.l D0, 0x08
00007298 5C4F addq.w A7, 6
0000729A 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
0000729E 4E75 rts
label000072A0:
000072A0 0C05 0004 cmpi.b D5, 0x4
000072A4 660C bne +0xE /* 000072B2 */
000072A6 302D B41E move.w D0, [A5 - 0x4BE2]
000072AA 5C4F addq.w A7, 6
000072AC 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
000072B0 4E75 rts
label000072B2:
000072B2 4857 pea.l [A7]
000072B4 3F2F 0026 move.w -[A7], [A7 + 0x26]
000072B8 4EAD E2F8 jsr [A5 - 0x1D08]
000072BC 302F 0006 move.w D0, [A7 + 0x6]
000072C0 48C0 ext.l D0
000072C2 4A80 tst.l D0
000072C4 5C4F addq.w A7, 6
000072C6 6D0A blt +0xC /* 000072D2 */
000072C8 3017 move.w D0, [A7]
000072CA 48C0 ext.l D0
000072CC 7202 moveq.l D1, 0x02
000072CE B081 cmp.l D0, D1
000072D0 6F02 ble +0x4 /* 000072D4 */
label000072D2:
000072D2 4257 clr.w [A7]
label000072D4:
000072D4 362F 0002 move.w D3, [A7 + 0x2]
000072D8 48C3 ext.l D3
000072DA 4A83 tst.l D3
000072DC 6D06 blt +0x8 /* 000072E4 */
000072DE 7002 moveq.l D0, 0x02
000072E0 B680 cmp.l D3, D0
000072E2 6F04 ble +0x6 /* 000072E8 */
label000072E4:
000072E4 426F 0002 clr.w [A7 + 0x2]
label000072E8:
000072E8 382F 0004 move.w D4, [A7 + 0x4]
000072EC 48C4 ext.l D4
000072EE 4A84 tst.l D4
000072F0 6D06 blt +0x8 /* 000072F8 */
000072F2 7001 moveq.l D0, 0x01
000072F4 B880 cmp.l D4, D0
000072F6 6F04 ble +0x6 /* 000072FC */
label000072F8:
000072F8 426F 0004 clr.w [A7 + 0x4]
label000072FC:
000072FC 7000 moveq.l D0, 0x00
000072FE 1005 move.b D0, D5
00007300 670A beq +0xC /* 0000730C */
00007302 5380 subq.l D0, 1
00007304 6736 beq +0x38 /* 0000733C */
00007306 5380 subq.l D0, 1
00007308 671A beq +0x1C /* 00007324 */
0000730A 4E71 nop
label0000730C:
0000730C 2F0A move.l -[A7], A2
0000730E 2F0B move.l -[A7], A3
00007310 2F06 move.l -[A7], D6
00007312 3F2F 000C move.w -[A7], [A7 + 0xC]
00007316 4EBA FEEC jsr [PC - 0x114 /* 00007204 */]
0000731A 4FEF 0014 lea.l A7, [A7 + 0x14]
0000731E 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00007322 4E75 rts
label00007324:
00007324 2F0A move.l -[A7], A2
00007326 2F0B move.l -[A7], A3
00007328 2F06 move.l -[A7], D6
0000732A 3F2F 000E move.w -[A7], [A7 + 0xE]
0000732E 4EBA FED4 jsr [PC - 0x12C /* 00007204 */]
00007332 4FEF 0014 lea.l A7, [A7 + 0x14]
00007336 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
0000733A 4E75 rts
label0000733C:
0000733C 4292 clr.l [A2]
0000733E 4293 clr.l [A3]
00007340 4A6F 0004 tst.w [A7 + 0x4]
00007344 6712 beq +0x14 /* 00007358 */
00007346 302D 135E move.w D0, [A5 + 0x135E]
0000734A 48C0 ext.l D0
0000734C 0680 0000 0080 addi.l D0, 0x80
00007352 E988 lsl D0, 4
00007354 5280 addq.l D0, 1
00007356 600E bra +0x10 /* 00007366 */
label00007358:
00007358 302D 135E move.w D0, [A5 + 0x135E]
0000735C 48C0 ext.l D0
0000735E 0680 0000 0080 addi.l D0, 0x80
00007364 E988 lsl D0, 4
label00007366:
00007366 5C4F addq.w A7, 6
00007368 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
0000736C 4E75 rts
fn0000736E:
0000736E 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00007372 4FEF FFE4 lea.l A7, [A7 - 0x1C]
00007376 246F 0044 movea.l A2, [A7 + 0x44]
0000737A 264A movea.l A3, A2
0000737C 508B addq.l A3, 8
0000737E 508B addq.l A3, 8
00007380 42A7 clr.l -[A7]
00007382 4EAD DD50 jsr [A5 - 0x22B0]
00007386 2F0A move.l -[A7], A2
00007388 4EBA FD68 jsr [PC - 0x298 /* 000070F2 */]
0000738C 4A80 tst.l D0
0000738E 504F addq.w A7, 8
00007390 660E bne +0x10 /* 000073A0 */
00007392 4EAD DD58 jsr [A5 - 0x22A8]
00007396 4FEF 001C lea.l A7, [A7 + 0x1C]
0000739A 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
0000739E 4E75 rts
label000073A0:
000073A0 4AAA 0128 tst.l [A2 + 0x128]
000073A4 6620 bne +0x22 /* 000073C6 */
000073A6 486A 0128 pea.l [A2 + 0x128]
000073AA 486F 0004 pea.l [A7 + 0x4]
000073AE 486F 000E pea.l [A7 + 0xE]
000073B2 486F 001A pea.l [A7 + 0x1A]
000073B6 2F2A 0148 move.l -[A7], [A2 + 0x148]
000073BA 3F2A 0166 move.w -[A7], [A2 + 0x166]
000073BE 4EAD E2E8 jsr [A5 - 0x1D18]
000073C2 4FEF 0016 lea.l A7, [A7 + 0x16]
label000073C6:
000073C6 4AAA 0128 tst.l [A2 + 0x128]
000073CA 6700 00B4 beq +0xB6 /* 00007480 */
000073CE 206A 0128 movea.l A0, [A2 + 0x128]
000073D2 2050 movea.l A0, [A0]
000073D4 2F68 0002 0014 move.l [A7 + 0x14], [A0 + 0x2]
000073DA 2F68 0006 0018 move.l [A7 + 0x18], [A0 + 0x6]
000073E0 362B 0002 move.w D3, [A3 + 0x2]
000073E4 382B 0006 move.w D4, [A3 + 0x6]
000073E8 2F0A move.l -[A7], A2
000073EA 4EAD EA48 jsr [A5 - 0x15B8]
000073EE 584F addq.w A7, 4
000073F0 2F00 move.l -[A7], D0
000073F2 2F0A move.l -[A7], A2
000073F4 4EBA 8DCC jsr [PC - 0x7234 /* 000001C2 */]
000073F8 48C0 ext.l D0
000073FA 3213 move.w D1, [A3]
000073FC 48C1 ext.l D1
000073FE D280 add.l D1, D0
00007400 3F41 0014 move.w [A7 + 0x14], D1
00007404 3A2B 0004 move.w D5, [A3 + 0x4]
00007408 302F 001E move.w D0, [A7 + 0x1E]
0000740C 48C0 ext.l D0
0000740E 2840 movea.l A4, D0
00007410 3C2F 0022 move.w D6, [A7 + 0x22]
00007414 48C6 ext.l D6
00007416 9C8C sub.l D6, A4
00007418 302F 001C move.w D0, [A7 + 0x1C]
0000741C 48C0 ext.l D0
0000741E 3E2F 0020 move.w D7, [A7 + 0x20]
00007422 48C7 ext.l D7
00007424 9E80 sub.l D7, D0
00007426 486F 001C pea.l [A7 + 0x1C]
0000742A 3003 move.w D0, D3
0000742C 48C0 ext.l D0
0000742E 908C sub.l D0, A4
00007430 3F00 move.w -[A7], D0
00007432 302F 0022 move.w D0, [A7 + 0x22]
00007436 48C0 ext.l D0
00007438 48C1 ext.l D1
0000743A 9280 sub.l D1, D0
0000743C 3F01 move.w -[A7], D1
0000743E A8A8 syscall OffsetRect
00007440 504F addq.w A7, 8
00007442 6034 bra +0x36 /* 00007478 */
label00007444:
00007444 2F2A 0128 move.l -[A7], [A2 + 0x128]
00007448 486F 0018 pea.l [A7 + 0x18]
0000744C A8F6 syscall DrawPicture
0000744E 486F 0014 pea.l [A7 + 0x14]
00007452 3F06 move.w -[A7], D6
00007454 4267 clr.w -[A7]
00007456 A8A8 syscall OffsetRect
00007458 302F 0016 move.w D0, [A7 + 0x16]
0000745C 48C0 ext.l D0
0000745E 2C40 movea.l A6, D0
00007460 3004 move.w D0, D4
00007462 48C0 ext.l D0
00007464 BDC0 cmpa.l A6, D0
00007466 6D10 blt +0x12 /* 00007478 */
00007468 486F 0014 pea.l [A7 + 0x14]
0000746C 3003 move.w D0, D3
0000746E 48C0 ext.l D0
00007470 908E sub.l D0, A6
00007472 3F00 move.w -[A7], D0
00007474 3F07 move.w -[A7], D7
00007476 A8A8 syscall OffsetRect
label00007478:
00007478 BA6F 0014 cmp.w D5, [A7 + 0x14]
0000747C 6EC6 bgt -0x38 /* 00007444 */
0000747E 6036 bra +0x38 /* 000074B6 */
label00007480:
00007480 4EAD DD70 jsr [A5 - 0x2290]
00007484 7000 moveq.l D0, 0x00
00007486 102D 81A0 move.b D0, [A5 - 0x7E60]
0000748A 7202 moveq.l D1, 0x02
0000748C B081 cmp.l D0, D1
0000748E 6D1E blt +0x20 /* 000074AE */
00007490 42A7 clr.l -[A7]
00007492 42A7 clr.l -[A7]
00007494 42A7 clr.l -[A7]
00007496 486F 001A pea.l [A7 + 0x1A]
0000749A 4878 FFFF push.l 0xFFFF
0000749E 2F0A move.l -[A7], A2
000074A0 4EBA ED8E jsr [PC - 0x1272 /* 00006230 */]
000074A4 486F 0026 pea.l [A7 + 0x26]
000074A8 AA15 syscall RGBBackColor
000074AA 4FEF 0018 lea.l A7, [A7 + 0x18]
label000074AE:
000074AE 2F0B move.l -[A7], A3
000074B0 A8A3 syscall EraseRect
000074B2 4EAD DD78 jsr [A5 - 0x2288]
label000074B6:
000074B6 4EAD DD58 jsr [A5 - 0x22A8]
000074BA 4FEF 001C lea.l A7, [A7 + 0x1C]
000074BE 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000074C2 4E75 rts
fn000074C4:
000074C4 7000 moveq.l D0, 0x00
000074C6 4E75 rts
fn000074C8:
000074C8 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
000074CC 266F 001C movea.l A3, [A7 + 0x1C]
000074D0 2C2F 0020 move.l D6, [A7 + 0x20]
000074D4 594F subq.w A7, 4
000074D6 2F2B 0134 move.l -[A7], [A3 + 0x134]
000074DA 4EAD D9AC jsr [A5 - 0x2654]
000074DE 201F move.l D0, [A7]+
000074E0 7258 moveq.l D1, 0x58
000074E2 4EAD D8FE jsr [A5 - 0x2702]
000074E6 2A00 move.l D5, D0
000074E8 206B 0134 movea.l A0, [A3 + 0x134]
000074EC 2450 movea.l A2, [A0]
000074EE 7800 moveq.l D4, 0x00
000074F0 2604 move.l D3, D4
000074F2 600E bra +0x10 /* 00007502 */
label000074F4:
000074F4 BCAA 004C cmp.l D6, [A2 + 0x4C]
000074F8 6602 bne +0x4 /* 000074FC */
000074FA 5284 addq.l D4, 1
label000074FC:
000074FC 5283 addq.l D3, 1
000074FE 7058 moveq.l D0, 0x58
00007500 D5C0 add.l A2, D0
label00007502:
00007502 B685 cmp.l D3, D5
00007504 6DEE blt -0x10 /* 000074F4 */
00007506 2004 move.l D0, D4
00007508 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
0000750C 4E75 rts
fn0000750E:
0000750E 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00007512 266F 001C movea.l A3, [A7 + 0x1C]
00007516 2C2F 0020 move.l D6, [A7 + 0x20]
0000751A 282F 0024 move.l D4, [A7 + 0x24]
0000751E 2A04 move.l D5, D4
00007520 9A86 sub.l D5, D6
00007522 2F0B move.l -[A7], A3
00007524 4EAD EA98 jsr [A5 - 0x1568]
00007528 2F0B move.l -[A7], A3
0000752A 206B 0004 movea.l A0, [A3 + 0x4]
0000752E 4E90 jsr [A0]
00007530 2F2B 0054 move.l -[A7], [A3 + 0x54]
00007534 2F2B 0048 move.l -[A7], [A3 + 0x48]
00007538 4EAD E388 jsr [A5 - 0x1C78]
0000753C 4A85 tst.l D5
0000753E 4FEF 0010 lea.l A7, [A7 + 0x10]
00007542 6724 beq +0x26 /* 00007568 */
00007544 244B movea.l A2, A3
00007546 2606 move.l D3, D6
00007548 600A bra +0xC /* 00007554 */
label0000754A:
0000754A 53AA 0054 subq.l [A2 + 0x54], 1
0000754E 5283 addq.l D3, 1
00007550 7058 moveq.l D0, 0x58
00007552 D5C0 add.l A2, D0
label00007554:
00007554 B684 cmp.l D3, D4
00007556 6FF2 ble -0xC /* 0000754A */
00007558 2005 move.l D0, D5
0000755A 7258 moveq.l D1, 0x58
0000755C 4EAD D8F8 jsr [A5 - 0x2708]
00007560 41EB 0058 lea.l A0, [A3 + 0x58]
00007564 224B movea.l A1, A3
00007566 A02E syscall BlockMove/BlockMoveData
label00007568:
00007568 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
0000756C 4E75 rts
fn0000756E:
0000756E 2F0A move.l -[A7], A2
00007570 2F2F 0008 move.l -[A7], [A7 + 0x8]
00007574 4EBA FAE6 jsr [PC - 0x51A /* 0000705C */]
00007578 2448 movea.l A2, A0
0000757A 200A move.l D0, A2
0000757C 584F addq.w A7, 4
0000757E 6716 beq +0x18 /* 00007596 */
00007580 2F2F 0008 move.l -[A7], [A7 + 0x8]
00007584 4EAD DD40 jsr [A5 - 0x22C0]
00007588 2F0A move.l -[A7], A2
0000758A A927 syscall InvalRgn
0000758C 4EAD DD48 jsr [A5 - 0x22B8]
00007590 2F0A move.l -[A7], A2
00007592 A8D9 syscall DisposRgn/DisposeRgn
00007594 584F addq.w A7, 4
label00007596:
00007596 245F movea.l A2, [A7]+
00007598 4E75 rts
0000759A 0000 0000 ori.b D0, 0x0
0000759E 0000 0000 ori.b D0, 0x0
000075A2 0000 0000 ori.b D0, 0x0